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

CeotOS系统 Python 安装pycurl时报错:

import pycurl
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: pycurl: libcurl link-time ssl backend (nss) is different from compile-time ssl backend (openssl)

解决的方法:

pip uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
easy_install pycurl

需要注意的是之前用pip安装的,然后卸载掉以后,一定要用easy_install安装才可以导入成功


参考原文地址:https://blog.csdn.net/jacsice/article/details/21404741

已标记关键词 清除标记
©️2020 CSDN 皮肤主题: 书香水墨 设计师:CSDN官方博客 返回首页