![](/img/trans.png)
[英]fatal error C1083: Cannot open include file: 'openssl/opensslv.h': No such file or directory
[英]Fatal error C1083: Cannot open include file: 'openssl/opensslv.h'
我正在嘗試安裝 Scrapy,但在安裝過程中出現此錯誤: build\\temp.win-amd64-2.7\\Release_openssl.c(429) :致命錯誤 C1083:無法打開包含文件:'openssl/opensslv.h':否這樣的文件或目錄
我已經檢查過文件“opensslv.h”在此處“C:\\OpenSSL-Win64\\include\\openssl”。 而且我還在系統變量路徑中包含了這個“C:\\OpenSSL-Win64\\include”。
堅持了幾個小時,有人可以幫忙嗎? 謝謝。
在“cryptography-1.5.2”包中發現了同樣的問題
設置這兩個環境值為我修復了它,之后pip install cryptography
起作用了:
set LIB=C:\OpenSSL-win64\lib;%LIB%
set INCLUDE=C:\OpenSSL-win64\include;%INCLUDE%
請參閱此處了解更多信息
將“openssl”文件夾從 C:\\OpenSSL-Win32\\include\\ 復制到 C:\\Pyhton27\\include\\
並將所有庫從 C:\\OpenSSL-win32\\lib 復制到 C:\\Python27\\Libs\\
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.