无限星辰工作室-客户无限互联网动力之源

标题: ImportError: pycurl: libcurl link-time ssl backend (nss)故障解决 [打印本页]

作者: crx349    时间: 2018-10-20 19:33
标题: ImportError: pycurl: libcurl link-time ssl backend (nss)故障解决
执行程序报错:ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (none/other)

(, 下载次数: 1260)
解决流程

  1. pip uninstall pycurl
复制代码
卸载掉之前安装的;
执行
  1. export PYCURL_SSL_LIBRARY=nss
复制代码

安装
  1. pip install pycurl
复制代码
或者
  1. pip install pycurl==7.43.0.1
复制代码
再次安装

PS:也可能不是出现nss,而是openssl换成执行
  1. export PYCURL_SSL_LIBRARY=openssl
复制代码

就可以了




欢迎光临 无限星辰工作室-客户无限互联网动力之源 (https://www.xmspace.net/) Powered by Discuz! X3.4