Fatal error C1083: Cannot open include file: #39;openssl/opensslv.h#39;(致命错误 C1083:无法打开包含文件:“openssl/opensslv.h)
问题描述
我正在尝试安装 Scrapy,但在安装过程中出现此错误:build emp.win-amd64-2.7Release_openssl.c(429):致命错误 C1083:无法打开包含文件:'openssl/opensslv.h': 没有这样的文件或目录
I'm trying to install Scrapy, but got this error during installing: build emp.win-amd64-2.7Release_openssl.c(429) : fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
我已检查文件opensslv.h"是否在此处C:OpenSSL-Win64includeopenssl".而且我还在路径系统变量中包含了这个C:OpenSSL-Win64include".
I've checked that the file "opensslv.h" is in here "C:OpenSSL-Win64includeopenssl". And I've also included this "C:OpenSSL-Win64include" in the Path, system variables.
坚持了几个小时,有人可以帮忙吗?谢谢.
Stuck on this for hours, can someone please help out? Thanks.
cryptography-1.5.2"包也发现了同样的问题
The same issue was found for the "cryptography-1.5.2" package
推荐答案
设置这两个环境值为我修复了它,之后 pip install cryptography 工作:
Setting these two environment values fixed it for me, after which pip install cryptography worked:
set LIB=C:OpenSSL-win64lib;%LIB%
set INCLUDE=C:OpenSSL-win64include;%INCLUDE%
请参阅此处了解更多信息
这篇关于致命错误 C1083:无法打开包含文件:“openssl/opensslv.h"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:致命错误 C1083:无法打开包含文件:“openssl/openss
基础教程推荐
- 尝试制作WhatsApp机器人 2022-01-01
- Discord.py 缺少必需的参数 2022-01-01
- 在 Celery 工作人员中捕获 Heroku SIGTERM 以优雅地关 2022-01-01
- pyserial - 可以从线程 a 写入串行端口,是否阻塞从线程 b 读取? 2022-01-01
- 将 x 轴刻度更改为自定义字符串 2022-01-01
- 与常规 dict 相比,Python manager.dict() 非常慢 2022-01-01
- numpy float:比算术运算中内置的慢 10 倍? 2022-01-01
- 使用生成器和迭代器时 Python 多循环失败 2022-01-01
- 用 Python 编写 Fortran 无格式文件 2022-01-01
- 由Python将MP3转换为MIDI(类型错误:无法加载插件:mtg-Melodia:Melodia) 2022-01-01
