How to Resolve the Error: "Microsoft Visual C 14.0 or Greater is Required"
When attempting to install Python packages, you may encounter an error message indicating that Microsoft Visual C 14.0 or a higher version is necessary. Despite updating to the latest version (14.27), you may continue to experience this issue.
Solution:
To rectify this error, follow these steps:
Download and Install Microsoft C Build Tools:
Check and Update Components:
Alternate Steps (Updated December 28, 2020):
Under "Individual Components," select only the following:
vs_buildtools.exe --norestart --passive --downloadThenInstall --includeRecommended --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.VCTools --add Microsoft.VisualStudio.Workload.MSBuildTools
After completing these steps, you should no longer encounter the "Microsoft Visual C 14.0 or greater is required" error when installing Python packages.
The above is the detailed content of Why Am I Still Getting the 'Microsoft Visual C 14.0 or Greater is Required' Error After Updating?. For more information, please follow other related articles on the PHP Chinese website!