pip install需要tls/ssl

Pio*_*otr 10 python linux pip vps

我的OVH vps服务器kubuntu 14.04桌面上安装python有问题.我需要做什么 ?

 :~/Desktop# python get-pip.py
    pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.
    Collecting pip
      Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: Can't connect to HTTPS URL because the SSL module is not available. - skipping
      Could not find a version that satisfies the requirement pip (from versions: )
    No matching distribution found for pip
Run Code Online (Sandbox Code Playgroud)

Ard*_*nel 1

您应该尝试从软件包存储库中安装

sudo apt-get install python-pip
Run Code Online (Sandbox Code Playgroud)

  • 如果无法通过包管理器更新 pip 怎么办? (8认同)