How to Resolve error "Microsoft Visual C++ 14.0 or greater is required" In Python.

Error

Many Developers face "Microsoft Visual C++ 14.0 or greater is required." error while installing different packages and don't know how to resolve it. So, today's article is a step-to-step guide to how can you resolve the "Microsoft Visual C++ 14.0 or greater is required." error.

Why This Error Occurs?

The error often arises when you are trying to install a software package that includes components or libraries written in C++ and has a dependency on a specific version of the Microsoft Visual C++ Redistributable. Installing the required compiler or redistributable package ensures that the C++ components can run on your system, resolving the "Microsoft Visual C++ 14.0 or Greater is Required" error.

How to Resolve it?

  1. Go to https://visualstudio.microsoft.com/visual-cpp-build-tools/

  1. Download the build tools.

  1. Run the installer.

4. Click Continue.

5. It will start installation of Visual Studio. Wait for few seconds and then a window appears.

6. Under the Desktop & Mobile section choose the Desktop development with C++.

7. In Installation detail's optional section, make sure to select the MSVC, Windows 11 SDK, CMake tools, C++ AddressSanitizer.

8. Then in bottom right corner, choose the option Download all, then install if your internet is slow otherwise select Install While Downloading. then click Install.

9. Now you need to Sit Back & Relax because it would take some time.

10.When installation is finished restart your computer and reinstall your package.

Conclusion: In a nutshell, overcoming the "Microsoft Visual C++ 14.0 or greater is required" error is all about persistence. If you encounter any issues, drop a comment. Follow for more helpful tips!