简体   繁体   English

致命错误C1083:无法打开包含文件:'openssl / opensslv.h':没有这样的文件或目录

[英]fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory

I am trying install paramiko on windows 7. Below error is seen every time: 我正在尝试在Windows 7上安装paramiko。每次都会出现以下错误:

C:\Users\achayapa\AppData\Local\Programs\Common\Microsoft\Visual C++ for     Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG Ic:\python27\include -Ic:\python27\PC /Tcbuild\temp.win32-2.7\Release\_openssl.c /Fobuild\temp.win32-2.7\Release\build\temp.win32-2.7\Release\_openssl.obj
_openssl.c    build\temp.win32-2.7\Release\_openssl.c(433) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory

error: command 'C:\\Users\\achayapa\\AppData\\Local\\Programs\\Common\\Microsoft\\Visual C++for Python\\9.0\\VC\\Bin\\cl.exe' failed with exit status 2

----------------------------------------
Command "c:\python27\python.exe -c "import setuptools, tokenize;__file__='c:\\users\\achayapa\\appdata\\local\\temp\\pip-build-lhlycd\\cryptography\\setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record c:\users\achayapa\appdata\local\temp\pip-t1xtw1-record\install-record.txt --single-version-externally-managed --compile" failed with error code 1 in c:\users\achayapa\appdata\local\temp\pip-build-lhlycd\cryptography

Tried solutions mentioned in below links: 下面提到的尝试解决方案链接:

Fatal error C1083: Cannot open include file: 'openssl/opensslv.h' 致命错误C1083:无法打开包含文件:'openssl / opensslv.h'

PyopenSSL and scrapy install fails in Python 27, Win 64 Bit PyopenSSL和scrapy安装在Python 27,Win 64 Bit中失败

Installed below programs already on windows: 安装在Windows上的程序下面:

Microsoft Visual C++ 2012 Redistributable (x86) Microsoft Visual C++ Compiler Package for Python 2.7 Microsoft Corporation Microsoft Visual C ++ 2012 Redistributable(x86)Microsoft Visual C ++编译器包,适用于Python 2.7 Microsoft Corporation

On Centos, I encountered the same problem. 在Centos上,我遇到了同样的问题。 This fixed it: sudo yum install openssl-devel - but on windows I don't know the analogous command. 这解决了它: sudo yum install openssl-devel - 但在Windows上我不知道类似的命令。 It cannot find your openssl library C headers, so either you need to modify your python search path, or move files into your search path. 它无法找到您的openssl库C头,因此您需要修改python搜索路径,或将文件移动到搜索路径中。

暂无
暂无

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

相关问题 致命错误 C1083:无法打开包含文件:'openssl/opensslv.h' - Fatal error C1083: Cannot open include file: 'openssl/opensslv.h' 致命错误 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 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: snappy/snappymodule.cc(31): 致命错误 C1083: 无法打开包含文件: 'snappy-c.h': 没有那个文件或目录 - snappy/snappymodule.cc(31): fatal error C1083: Cannot open include file: 'snappy-c.h': No such file or directory 安装 pygrahviz 的问题“致命错误 C1083:无法打开包含文件:‘graphviz/cgraph.h’:没有此类文件或目录” - Issues installing pygrahviz "fatal error C1083: Cannot open include file: 'graphviz/cgraph.h': No such file or directory" 无法安装mysql客户端1.3.12出现致命错误C1083:无法打开包含文件:mysql.h:无此类文件或目录 - Unable to install mysql client 1.3.12 getting fatal error C1083: Cannot open include file: 'mysql.h': No such file or directory 如何修复 PyAudio、PortAudio 的安装问题:“致命错误 C1083:无法打开包含文件:'portaudio.h':没有这样的文件或目录” - How to fix installation issues for PyAudio, PortAudio: "fatal error C1083: Cannot open include file: 'portaudio.h': No such file or directory"
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM