I\'m trying to install Scrapy, but got this error during installing: build\\temp.win-amd64-2.7\\Release_openssl.c(429) : fatal error C1083: Cannot open include file: \'opens
Setting these two environment values fixed it for me, after which pip install cryptography
worked:
set LIB=C:\OpenSSL-win64\lib;%LIB%
set INCLUDE=C:\OpenSSL-win64\include;%INCLUDE%
See here for more information
Copy "openssl" folder from C:\OpenSSL-Win32\include\ to C:\Pyhton27\include\
and copy all libs from C:\OpenSSL-win32\lib to C:\Python27\Libs\