When attempting to install the steem package using Pip, users may encounter an error indicating that Microsoft Visual C 14.0 is required. This error occurs during the installation of pycrypto, a dependency of steem.
The error message states:
error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": http://landinghub.visualstudio.com/visual-cpp-build-tools
To resolve this issue, Microsoft Visual C 14.0 must be installed on the system. The Visual C 2015 Build Tools can be downloaded from the provided link, allowing the installation of Visual C 14.0 without requiring Visual Studio.
Alternatively, users can refer to the Microsoft Visual C Build Tools page (https://wiki.python.org/moin/WindowsCompilers#Microsoft_Visual_C.2B-.2B-_14.2_standalone:_Build_Tools_for_Visual_Studio_2019_.28x86.2C_x64.2C_ARM.2C_ARM64.29) for alternate download options.
After installing Microsoft Visual C 14.0, re-run the original command:
pip install -U steem
The "-U" option upgrades all specified packages to the latest available version. Alternatively, if the steem library is not already installed, the command can be run without the "-U" option.
The above is the detailed content of Why Do I Need Microsoft Visual C 14.0 to Install the `steem` Package via Pip?. For more information, please follow other related articles on the PHP Chinese website!