Pip Error: Understanding and Resolving "Microsoft Visual C 14.0 is required"
Issue:
When attempting to install steem using pip, users encounter the error: "Microsoft Visual C 14.0 is required." This error arises due to the dependency on pycrypto, which necessitates the Microsoft Visual C 14.0 compiler.
Solution:
To resolve this error and successfully install steem, follow these steps:
Install Microsoft Visual C 14.0:
Visit the following link: http://landinghub.visualstudio.com/visual-cpp-build-tools and download "Visual C 2015 Build Tools." This will install Visual C 14.0 without requiring Visual Studio.
Re-run Pip Command:
Once Visual C 14.0 is installed, re-run the pip command:
pip install -U steem
Additional Notes:
Avoiding Third-Party Binaries:
It is not recommended to download precompiled binary versions of pycrypto from third parties. To ensure compatibility and security, it is best to build it from the source.
Understanding Pip Install Options:
The -U (upgrade) option upgrades all specified packages to their latest versions. If steem is not already installed, you can omit the -U option. To learn more about pip install options, run:
pip help install
The above is the detailed content of Why Does Pip Installation of Steem Require Microsoft Visual C 14.0, and How Can I Fix It?. For more information, please follow other related articles on the PHP Chinese website!