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

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

    The problem probably caused by library missing.

    Before you install python 3.6, make sure you install all the libraries required for python.

    $ sudo apt-get install build-essential checkinstall 
    $ sudo apt-get install libreadline-gplv2-dev libncursesw5-dev libssl-dev libsqlite3-dev tk-dev libgdbm-dev libc6-dev libbz2-dev
    

    More information in How to Install Python 3.6.0 on Ubuntu & LinuxMint

提交回复
热议问题