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
124 0
|
应用服务中间件 nginx C语言
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
3110 0
3分钟教你搞定 nginx 编译安装报错:error: the HTTP rewrite module requires the PCRE library.
|
缓存 PHP
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection
1003 0
|
Shell 网络安全 开发工具
Github: fatal: Unsupported SSL backend ‘“openssl”‘. Supported SSL backends: openssl schannel
Github: fatal: Unsupported SSL backend ‘“openssl”‘. Supported SSL backends: openssl schannel
234 0
Github: fatal: Unsupported SSL backend ‘“openssl”‘. Supported SSL backends: openssl schannel
curl: (48) An unknown option was passed in to libcurl
curl: (48) An unknown option was passed in to libcurl
84 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
64 0
curl: (1) Protocol "https" not supported or disabled in libcurl
curl: (1) Protocol "https" not supported or disabled in libcurl
252 0
|
应用服务中间件 nginx
nginx安装报错/configure: error: the HTTP gzip module requires the zlib library.
反向代理服务器的工作原理 反向代理服务器通常有两种模型,它可以作为内容服务器的替身,也可以作为内容服务器集群的负载均衡器。 1,作内容服务器的替身 如果您的内容服务器具有必须保持安全的敏感信息,如信用卡号数据库,可在防火墙外部设置一个代理服务器作为内容服务器的替身。
3667 0
|
网络安全 微服务 Linux
The handler does not support client authentication certificates with this combination of libcurl (7.54.0) and its SSL backend ("LibreSSL/2.0.20")
NET Core的跨平台大家已经有目共睹,而在MAC平台上做开发已经成为目前的主流,无论哪种语言。 在一次微服务移植的过程中,客户端需要发送Http自定义混合验证,在MonoNET上没有任何问题,而移植到NET Core 2.0并运行,就出现了错误:The handler does not support client authentication certificates with this combination of libcurl (7.54.0) and its SSL backend ("LibreSSL/2.0.20")。
1169 0