PlainError

Home / Coding

error: Microsoft Visual C++ 14.0 or greater is required (pip install)

Last checked 2026-10-17 · 2 fixes · reviewed answer

TL;DRThis error appears when pip tries to install a Python package that needs to compile C++ code but cannot find the required Microsoft compiler tools on your Windows system.

Likely causes

  1. Microsoft Visual C++ Build Tools are not installedmost likely
  2. The package being installed has no pre-built wheel for your Python versionpossible

How to fix it

Safest first: SafeChanges settingsDangerous
  1. Retry the pip install command after installationSafe

    Open a new command prompt and run your original pip install command again.

    pip install <package>
  2. Install the free Visual C++ Build ToolsChanges settings

    Download the Build Tools for Visual Studio from the official Microsoft site and select the C++ build tools workload during installation.

    ⚠ This will download several gigabytes and modify your system.

If that didn't fix it

Try installing a different version of the package or use a pre-built wheel if one exists for your setup.

When to see a technician

Consult a technician if you are on a managed work computer where installing build tools is restricted by policy.

Did this fix it? Report a problem

Related errors