(python3env) [sujit.kumar@terraform python3env]$ python
Python 3.6.8 (default, Aug 7 2019, 17:28:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 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)
>>>
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
Python 3.6.8 (default, Aug 7 2019, 17:28:10)
[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> 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)
>>>
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()
######################
My pycurl was built with nss and pip3 install was compiling this with openssl
My pycurl was built with nss and pip3 install was compiling this with openssl
#########
# Workaround
############
pip3 uninstall pycurl
export PYCURL_SSL_LIBRARY=nss
pip3 install pycurl
############
# import of pycurl was fine
# python -c "import pycurl"
No comments:
Post a Comment