Not able to install Python packages [SSL: TLSV1_ALERT_PROTOCOL_VERSION]

前端 未结 17 2002
一整个雨季
一整个雨季 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:50

    This worked for me. Add sudo before python

    curl https://bootstrap.pypa.io/get-pip.py |sudo python
    

提交回复
热议问题