Unhelpful error message when trying to use get-pip with Python 2.6
See original GitHub issueget-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:
- Created 5 years ago
- Comments:5 (4 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Perhaps something like https://github.com/pypa/get-pip/pull/25?
This should be fixed with #100 now. At least in the newer templates.