I'm get the following error when running pip install cryptography
:
build\temp.win32-2.7\Release\_openssl.c(434) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
I'm running windows 10, 64 bit, with python 2.7. I'm trying to install cryptography 1.9.
Installing openssl and changing environment variables fixed this problem for me.
Win32OpenSSL-1_1_0f
, even if your system is 64 bit (I tried installing the 64 bit version of OpenSSL and this did not fix the problem)C:\OpenSSL-Win32\include
, C:\OpenSSL-Win32\lib
> set INCLUDE=C:\OpenSSL-Win32\include;%INCLUDE%
> set LIB=C:\OpenSSL-Win32\lib;%LIB%
> pip install cryptography