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

后端 未结 2 956
囚心锁ツ
囚心锁ツ 2020-11-30 11:38

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: \'opens

2条回答
  •  粉色の甜心
    2020-11-30 11:47

    Setting these two environment values fixed it for me, after which pip install cryptography worked:

    set LIB=C:\OpenSSL-win64\lib;%LIB%
    set INCLUDE=C:\OpenSSL-win64\include;%INCLUDE%
    

    See here for more information

提交回复
热议问题