In the process of using Python development, it is often necessary to install various modules, but in the process of installation, various errors are often encountered. For example, error: error: Microsoft Visual C++ 14.0 is required. This error is due to the lack of C++ compiler components.
There are two solutions to this error
One is to directly download the corresponding WHEEL file for installation and provide three download addresses:
Tsinghua download (domestic site, faster) : https://pypi.tuna.tsinghua.edu.cn/simple/pip/
The official download: https://pypi.org/project/face-recognition/1.0.0/#files
Python package: https://www.lfd.uci.edu/~gohlke/pythonlibs/
Another solution is to install the missing component.
For the second solution, I believe most people will download a Visual Studio 201X and install it, as I did before. However, installing a VS takes up a lot of space, not to say the key, but it is still unusable after installation, which is really annoying.
After a variety of search, later found that you can directly install the official C++ runtime can be a perfect solution, leave an address: Microsoft Visual C++ Build Tools 2015
Double-click to run after downloading and install using default Settings. After the installation is complete, proceed to PIP Install XXX to indicate a successful installation.
Welcome to my personal blog: The Road to Machine Learning
There are two solutions to this error
One is to directly download the corresponding WHEEL file for installation and provide three download addresses:
Tsinghua download (domestic site, faster) : https://pypi.tuna.tsinghua.edu.cn/simple/pip/
The official download: https://pypi.org/project/face-recognition/1.0.0/#files
Python package: https://www.lfd.uci.edu/~gohlke/pythonlibs/
Another solution is to install the missing component.
For the second solution, I believe most people will download a Visual Studio 201X and install it, as I did before. However, installing a VS takes up a lot of space, not to say the key, but it is still unusable after installation, which is really annoying.
After a variety of search, later found that you can directly install the official C++ runtime can be a perfect solution, leave an address: Microsoft Visual C++ Build Tools 2015
Double-click to run after downloading and install using default Settings. After the installation is complete, proceed to PIP Install XXX to indicate a successful installation.
Welcome to my personal blog: The Road to Machine Learning
Read More:
- PIP installation error: Microsoft Visual C + + 14.0 is required perfect solution
- Error from Python installation Library: Microsoft Visual C + + 14.0 is required
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C + + build tools” problem
- Error: Microsoft Visual C + + 14.0 is required. Get it with “Microsoft Visual C”++
- Microsoft Visual C++ 14.0 or greater is required. Get it with “Microsoft C++ Build Tools“
- Error: Microsoft Visual C + + 14.0 is required to get it with Microsoft V + + comp
- [Solved] error: Microsoft Visual C++ 14.0 or greater is required
- error: Microsoft Visual C++ 9.0 is required
- Pychar install paddlex error Microsoft Visual C ++ fourteen . 0 is required
- There is a problem with Microsoft Visual C + + 14.0 about Python installation package
- Bug:Install Microsoft Visual C++ 2008 Redistributable (x86) Failed Installation aborted, Result=1603
- Information contained in Debug Assertion Failed of Microsoft Visual C++ Runtime Library
- Microsoft Visual C++ Runtime library not enough space for thread data
- Solution to CUDA installation failure problem visual studio integration failed
- Error occurred during Microsoft Visual Studio execution. Msb8020 reported an error
- Solution of error reporting in PIP installation of iPhone
- To solve the problem of C # calling excel interface error, prompt: the COM object of Microsoft. Office. Interop. Excel. Applicationclass is forcibly converted to the interface type “Microsoft. Offi”
- Windows Visual C + + 2005 redistributable error 1935 solution
- Struts2 is cracked, a serious loophole, a perfect solution
- The solution of windows not flashing back when visual studio console program is running