Skip to content Skip to sidebar Skip to footer

Failing To Run Pip Install Cryptography On Windows 7

I'm attempting to run the following command: pip install cryptography on a windows 7 machine. When doing so I'm getting the following error: command python setup.py egg_info faile

Solution 1:

Probably you have to set some env variables.

C:\> \path\to\vcvarsall.bat x86_amd64 (or"amd64"for you)
C:\> setLIB=C:\OpenSSL-1.0.1g-64bit\lib;%LIB%
C:\> set INCLUDE=C:\OpenSSL-1.0.1g-64bit\include;%INCLUDE%
C:\> pip install cryptography

You may have to change the paths.

Post a Comment for "Failing To Run Pip Install Cryptography On Windows 7"