我正在尝试安装Scrapy,但在安装过程中遇到此错误:build \ temp.win-amd64-2.7 \ Release_openssl.c(429):致命错误C1083:无法打开包含文件:'openssl / opensslv.h':否这样的文件或目录
我检查过文件“opensslv.h”在这里“C:\ OpenSSL-Win64 \ include \ openssl” . 而且我还在Path中包含了这个“C:\ OpenSSL-Win64 \ include”系统变量 .
坚持这几个小时,有人可以帮忙吗?谢谢 .
“cryptography-1.5.2”包中也发现了同样的问题
2 回答
设置这两个环境值为我修复了它,之后
pip install cryptography
工作:有关更多信息,请参阅here
将“openssl”文件夹从C:\ OpenSSL-Win32 \ include \复制到C:\ Pyhton27 \ include \
并将所有库从C:\ OpenSSL-win32 \ lib复制到C:\ Python27 \ Libs \