pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available

前端 未结 30 3529
遇见更好的自我
遇见更好的自我 2020-11-22 11:09

I am using Python3.6, when I try to install \"modules\" using pip3, I am facing the below mentioned issue \"pip is configured with locations that require TLS/SS

30条回答
  •  甜味超标
    2020-11-22 11:46

    In case of your python being an pyenv installed one, where pyenv is installed with homebrew on macOS, there might me a newer version available which fixes this:

    $ brew update && brew upgrade pyenv
    

    Then reinstalling the python version:

    $ pyenv install 3.7.2
    pyenv: /Users/luckydonald/.pyenv/versions/3.7.2 already exists
    continue with installation? (y/N) 
    

    Note, it is a bit dirty to overwrite the existing python install like that, but in my case it did work out.

提交回复
热议问题