question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unhelpful error message when trying to use get-pip with Python 2.6

See original GitHub issue

get-pip.py fails when run with Python 2.6. That’s expected, but it should fail in a way that directs the user to bootstrap.pypa.io/2.6/get-pip.py

Sadly, due to cleared scrollback (and the fact that I was doing this with Ansible, which doesn’t exactly give great error messages) I don’t have the exact error message, but it was a SyntaxError on a set literal.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
hugovkcommented, Apr 18, 2018
0reactions
pradyunsgcommented, Feb 21, 2021

This should be fixed with #100 now. At least in the newer templates.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: No matching distribution found for pip - Stack Overflow
First run cmd as administrator in windows. Then just try python get-pip.py --trusted-host ...
Read more >
pip install requests==2.6.2 - PyPI
Fix error when requests is an install_requires dependency and python ... Attempt to quote parts of the URL on redirect if unquoting and...
Read more >
Is there any way to install pip for Python 2.6? - Quora
In many Linux distributions, Python comes pre-installed, but pip does not. For example in Ubuntu 18.04 you can install pip using apt: sudo...
Read more >
Traps for the Unwary in Python's Import System
Even if there is no initialisation code to run when the package is imported, an empty __init__.py file is still needed for the...
Read more >
Porting Python 2 Code to Python 3 — Python 3.11.1 ...
Make sure you have good test coverage (coverage.py can help; python -m pip install coverage ). Learn the differences between Python 2 &...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found