ImportError: pycurl: libcurl link-time ssl backend

简介: ImportError: pycurl: libcurl link-time ssl backend

解决pycurl安装错误

由于libcurl的源码编译因素,在安装pycurl可能会导致以下两种错误。

错误1:

ImportError: pycurl: libcurl link-time ssl backend (openssl) 
is different from compile-time ssl backend (none/other)

错误1的解决办法如下:

$ pip uninstall pycurl

$ export PYCURL_SSL_LIBRARY=openssl
$ pip install pycurl

错误2:

ImportError: pycurl: libcurl link-time ssl backend (nss) 
is different from compile-time ssl backend (openssl)

错误2的解决办法如下:

$ pip uninstall pycurl
$ export PYCURL_SSL_LIBRARY=nss
$ pip install pycurl

参考

解决pycurl安装错误

            </div>
目录
相关文章
|
网络安全
ImportError: pycurl: libcurl link-time ssl backend
ImportError: pycurl: libcurl link-time ssl backend
196 0
|
5月前
|
存储 数据可视化 数据挖掘
python学习1补充
python学习1补充
|
3月前
|
Linux 网络安全 开发者
【Python】已解决:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module i
【Python】已解决:WARNING: pip is configured with locations that require TLS/SSL, however the ssl module i
281 3
|
3月前
|
安全 网络协议 网络安全
【Python】已解决:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool (host=’ files. pyth
【Python】已解决:pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool (host=’ files. pyth
187 0
|
应用服务中间件 网络安全 nginx
./configure: error: SSL modules require the OpenSSL library.
CentOS 6.5 下 安装 Tengine 执行配置命令./configure  时提示以下错误: ./configure: error: SSL modules require the OpenSSL library.
1940 0
curl: (48) An unknown option was passed in to libcurl
curl: (48) An unknown option was passed in to libcurl
116 0
mod_signalwire.c:371 Curl Result 1, Error: Protocol https not supported
mod_signalwire.c:371 Curl Result 1, Error: Protocol https not supported
85 0
|
网络安全 Python
pip is configured with locations that require TLS/SSL
pip is configured with locations that require TLS/SSL
110 0
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
成功解决ERROR: Could not install packages due to an EnvironmentError: [WinError 5] 拒绝访问。backend_agg.cp36
|
安全 网络安全 数据安全/隐私保护
Python:urllib2.URLError urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
Python:urllib2.URLError urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
549 0
Python:urllib2.URLError urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed