kir*_*ral 7 python openssl cryptography scrapy
我正在尝试安装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"包中也发现了同样的问题
ECH*_*ECH 15
设置这两个环境值为我修复了它,之后pip install cryptography工作:
set LIB=C:\OpenSSL-win64\lib;%LIB%
set INCLUDE=C:\OpenSSL-win64\include;%INCLUDE%
Run Code Online (Sandbox Code Playgroud)
请参阅此处了解更多信息
小智 7
将“openssl”文件夹从 C:\OpenSSL-Win32\include\ 复制到 C:\Pyhton27\include\
并将所有库从 C:\OpenSSL-win32\lib 复制到 C:\Python27\Libs\
| 归档时间: |
|
| 查看次数: |
10750 次 |
| 最近记录: |