简体   繁体   English

致命错误 C1083:无法打开包含文件:'openssl/opensslv.h'

[英]Fatal error C1083: Cannot open include file: 'openssl/opensslv.h'

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: 'openssl/opensslv.h': No such file or directory我正在尝试安装 Scrapy,但在安装过程中出现此错误: build\\temp.win-amd64-2.7\\Release_openssl.c(429) :致命错误 C1083:无法打开包含文件:'openssl/opensslv.h':否这样的文件或目录

I've checked that the file "opensslv.h" is in here "C:\\OpenSSL-Win64\\include\\openssl".我已经检查过文件“opensslv.h”在此处“C:\\OpenSSL-Win64\\include\\openssl”。 And I've also included this "C:\\OpenSSL-Win64\\include" in the Path, system variables.而且我还在系统变量路径中包含了这个“C:\\OpenSSL-Win64\\include”。

Stuck on this for hours, can someone please help out?坚持了几个小时,有人可以帮忙吗? Thanks.谢谢。

The same issue was found for the "cryptography-1.5.2" package在“cryptography-1.5.2”包中发现了同样的问题

Setting these two environment values fixed it for me, after which pip install cryptography worked:设置这两个环境值为我修复了它,之后pip install cryptography起作用了:

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\\将“openssl”文件夹从 C:\\OpenSSL-Win32\\include\\ 复制到 C:\\Pyhton27\\include\\

and copy all libs from C:\\OpenSSL-win32\\lib to C:\\Python27\\Libs\\并将所有库从 C:\\OpenSSL-win32\\lib 复制到 C:\\Python27\\Libs\\

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 致命错误C1083:无法打开包含文件:'openssl / opensslv.h':没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory SWIG致命错误C1083:无法打开包含文件 - SWIG Fatal error C1083: Cannot open include file 致命错误 C1083:无法打开包含文件:“mecab.h”:没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'mecab.h': No such file or directory 致命错误 C1083:无法打开包含文件:'io.h':没有这样的文件或目录 - fatal error C1083: Cannot open include file: 'io.h': No such file or directory 致命错误 C1083:无法打开包含文件:'dlfcn.h':没有这样的文件或目录 PyLPSolve - fatal error C1083: Cannot open include file: 'dlfcn.h': No such file or directory PyLPSolve Tokyocabinet致命错误C1083:无法打开包含文件:tcbdb.h - Tokyocabinet fatal error C1083 : cannot open include file:tcbdb.h 编译Cython代码产生...致命错误C1083:无法打开包含文件:'io.h' - Compiling Cython code yields… fatal error C1083: Cannot open include file: 'io.h' 致命错误 C1083:无法打开包含文件:“basetsd.h” - fatal error C1083: Cannot open include file: 'basetsd.h' MySQLdb/_mysql.c(29): 致命错误 C1083: 无法打开包含文件: 'mysql.h': 没有这样的文件或目录 - MySQLdb/_mysql.c(29): fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory Could not install pycocotools in windows: fatal error C1083: Cannot open include file: 'io.h': No such file or directory 错误: - Could not install pycocotools in windows: fatal error C1083: Cannot open include file: 'io.h': No such file or directory error:
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM