Skip to content

Unable to upgrade pip or install packages #5255

Closed
@ampersamd

Description

@ampersamd
  • Pip version: pip 8.0.3
  • Python version: 3.4.3
  • Operating system: OS 10.13

Description:

I was trying to install beautifulSoup4, but I keep running into an error claiming there is a problem with the ssl certificate.

$ pip install beautifulsoup4
Could not fetch URL https://pypi.python.org/simple/beautifulsoup4/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:600) - skipping
  Could not find a version that satisfies the requirement beautifulsoup4 (from versions: )
No matching distribution found for beautifulsoup4

I saw a few others having a similar issue that they were able to work around by nameing pypi.python.org as a trusted host. I tried that, but to no successful.

$ pip install --trusted-host pypi.python.org beautifulsoup4
Collecting beautifulsoup4
  Could not fetch URL https://pypi.python.org/simple/beautifulsoup4/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:600) - skipping
  Could not find a version that satisfies the requirement beautifulsoup4 (from versions: )
No matching distribution found for beautifulsoup4

I also found I am unable to upgrade pip. When trying to upgrade pip, I see that requirements are already up to date, although when running pip --version I see that I'm a few versions behind.

$ pip install -U pip
Could not fetch URL https://pypi.python.org/simple/pip/: There was a problem confirming the ssl certificate: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:600) - skipping
Requirement already up-to-date: pip in /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages

$ pip --version
pip 8.0.3 from /Library/Frameworks/Python.framework/Versions/3.4/lib/python3.4/site-packages (python 3.4)

Anyone experience similar issues? Any suggestions?

Metadata

Metadata

Assignees

No one assigned

    Labels

    auto-lockedOutdated issues that have been locked by automationtype: supportUser Support

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions