“ssl module in Python is not available” when installing package with pip3

后端 未结 28 1803
别跟我提以往
别跟我提以往 2020-11-22 08:51

I\'ve install Python 3.4 and Python 3.6 on my local machine successfully, but am unable to install packages with pip3.

When I execute pip3 install

28条回答
  •  爱一瞬间的悲伤
    2020-11-22 09:25

    I had the same issue trying to install python3.7 on an ubuntu14.04 machine. The issue was that I had some custom folders in my PKG_CONFIG_PATH and in my LD_LIBRARY_PATH, which prevented the python build process to find the system openssl libraries.

    so try to clear them and see what happens:

    export PKG_CONFIG_PATH=""
    export LD_LIBRARY_PATH=""
    

提交回复
热议问题