Home > Backend Development > Python Tutorial > How to Fix the 'Microsoft Visual C 14.0 is Required' Pip Error During Cryptographic Library Installation?

How to Fix the 'Microsoft Visual C 14.0 is Required' Pip Error During Cryptographic Library Installation?

Linda Hamilton
Release: 2024-12-07 11:24:12
Original
968 people have browsed it

How to Fix the

Pip Error: Resolving "Microsoft Visual C 14.0 is Required" for Cryptographic Library Installation

Problem:
Upon attempting to install the Steem package through Pip, users encounter an error code involving Microsoft Visual C 14.0. The error arises when Pip attempts to install PyCrypto, a cryptographic library required for Steem.

Solution:
To resolve this error, users must install Microsoft Visual C 14.0. This can be achieved by downloading the Microsoft Visual C Build Tools from the provided URL: http://landinghub.visualstudio.com/visual-cpp-build-tools.

Uninstall of Cryptography Package:
To uninstall the Cryptography package, which may have been installed in the process, run the following command in Command Prompt:

pip uninstall cryptography
Copy after login

Alternate PyCrypto Installation Method:
If users prefer to avoid installing a compiler, they may refer to the following links for potential alternatives:

  • [PyCrypto Binary for Python 3.6 (32-bit)](https://www.dropbox.com/s/20l8z9gt991r167/pycrypto-2.6.1-cp36-cp36m-win32.whl?dl=0)
  • [PyCrypto Binary for Python 3.6 (64-bit)](https://www.dropbox.com/s/0l74f530pdurf86/pycrypto-2.6.1-cp36-cp36m-win_amd64.whl?dl=0)

Warning:
It is strongly advised to download binary versions of cryptographic libraries from reputable sources only, as third-party versions may contain vulnerabilities.

The above is the detailed content of How to Fix the 'Microsoft Visual C 14.0 is Required' Pip Error During Cryptographic Library Installation?. 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