Problem description
An error occurs when configuring and installing pycotools
package in Anaconda environment under Windows 10:
error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft
Solution
The main reason is that my windows 10 lacks some environments and dependencies that require C + + compilation when installing Python packages, so it needs to be downloaded and installed.
Open the link and click the download generation tool:
you will download a tool called vs_ buildtools__ 396764696.1636620081.exe
, double-click the executable to download and install the library. Note that the following components are selected during the download process:
after the download and installation is completed, it takes effect after restarting the computer.
This completes the installation of environment dependencies such as C + +.
End.
[reference]
1 https://docs.microsoft.com/en-us/answers/questions/136595/error-microsoft-visual-c-140-or-greater-is-require.html
Read More:
- Python environment error, bad interpreter: there is no file or directory
- [Solved] Python Error: “RuntimeError: ‘cryptography‘ package is required for sha256_password or caching_sha2_pas”
- [Solved] Windows10 Pycharm Use Virtual Environment Error: Cannot set up a python SDK
- [Solved] Django.core.exceptions.ImproperlyConfigured: SQLite 3.9.0 or later is required (found 3.7.17).
- Invalid python sd, Fatal Python error: init_fs_encoding: failed to get the Python cod [How to Solve]
- Python3 Error: Cannot uninstall ‘numpy’. It is a distutils installed project and thus we cannot accurate
- [Solved] VScode Configurate Python Interpreter Error: D:\Pros\virtuals\venvs\Scripts\Activate.ps1 cannot be loaded
- Linux Fatal Python error: Py_Initialize Unable to get the locale encoding
- [Solved] Windows Python Upzip rar File Error: Cannot find working tool
- cffi Security Report “c / _cffi_backend.oc / _cffi_backend.c: 15:17: error: ffi.h: No such file or directory” Problem
- Pychar can’t connect to Python console, but it can run. Py file, and Anaconda’s command line can run Python command
- [Solved] Pymysql Use Error: RuntimeError: ‘cryptography‘ package is required for sha256_password
- [Solved] Error when vscode activates Python virtual environment
- Python: How to Solve multiprocessing module Error in Windows
- Python: How to get the size of the picture (byte/kb/mb)
- [Solved] Fatal Python error: initfsencoding: Unable to get the locale encoding
- [Solved] Python Using or importing the ABCs from ‘collections‘ instead of from ‘collections.abc‘ is deprecate
- PIP Install Mysqlclient error C1083: Cannot open include file: ‘mysql.h‘: No such file or directory
- _ssl.c:510: error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure