Software⏱️ 2 min read📅 2026-05-31

How to Fix: How to solve "error: Microsoft Visual C++ 14.0 or greater is required" when installing Python packages?

Error installing Python package due to Microsoft Visual C++ requirement.

Quick Answer: Update your system to use the latest version of Microsoft Visual C++ by installing the Microsoft C++ Build Tools, which should resolve the issue.

If you're encountering the error 'Microsoft Visual C++ 14.0 or greater is required' while installing Python packages, it's essential to understand that this issue arises due to the lack of a suitable compiler on your system.

💡 Why You Are Getting This Error

  • When you install Python packages, it looks for a compatible compiler to compile the package's source code. However, if no suitable compiler is found, it throws an error.

✅ Best Solutions to Fix It

Method 1: Installing Microsoft C++ Build Tools

  1. Step 1: Download and install the Microsoft C++ Build Tools from here.

Method 2: Using a Package Manager with C++ Support

  1. Step 1: Consider using a package manager like Pipenv or Miniconda, which come bundled with C++ support.

🎯 Final Words

By following these methods, you should be able to resolve the 'Microsoft Visual C++ 14.0 or greater is required' error and successfully install Python packages.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions