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
203 0
|
1月前
|
Ubuntu Linux iOS开发
问题./configure: error: the HTTP gzip module requires the zlib library.处理
问题./configure: error: the HTTP gzip module requires the zlib library.处理
362 6
|
应用服务中间件 nginx C语言
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
3919 0
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
|
4月前
|
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
845 3
|
应用服务中间件 网络安全 nginx
./configure: error: SSL modules require the OpenSSL library.
CentOS 6.5 下 安装 Tengine 执行配置命令./configure  时提示以下错误: ./configure: error: SSL modules require the OpenSSL library.
1967 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
88 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
571 0
Python:urllib2.URLError urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed
|
Python
解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
解决pip._vendor.urllib3.exceptions.ReadTimeoutError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Read timed out.
80024 0