Not able to install Python packages [SSL: TLSV1_ALERT_PROTOCOL_VERSION]

前端 未结 17 2245
一整个雨季
一整个雨季 2020-11-21 13:16

I am trying to install a Python library using pip, getting an SSL error:

~/projects/base  pre-master±  pip install xdict

Collecting xdict
  Co         


        
17条回答
  •  半阙折子戏
    2020-11-21 13:44

    For Python2 WIN10 Users:

    1.Uninstall python thoroughly ,include all folders.

    2.Fetch and install the lastest python-2.7.msi (ver 2.7.15)

    3.After step 2,you may find pip had been installed too.

    4.Now ,if your system'env haven't been changed,you can use pip to install packages now.The "tlsv1 alert protocol version" will not appear.

提交回复
热议问题