Home > Backend Development > Python Tutorial > Why Do I Need Microsoft Visual C 14.0 to Install the `steem` Package via Pip?

Why Do I Need Microsoft Visual C 14.0 to Install the `steem` Package via Pip?

Mary-Kate Olsen
Release: 2024-12-18 01:28:11
Original
391 people have browsed it

Why Do I Need Microsoft Visual C   14.0 to Install the `steem` Package via Pip?

Microsoft Visual C 14.0 Required for Pip Installation

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
Copy after login

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
Copy after login

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!

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Articles by Author
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template