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

后端 未结 28 1944
别跟我提以往
别跟我提以往 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:01

    On macos, configure python 3.8.1 with the command below will solve the problem, i think it would also work on Linux.

    ./configure --enable-optimizations --with-openssl=/usr/local/opt/openssl@1.1/
    

    change the dir parameter based on your system.

提交回复
热议问题