Python 2.7 Broken
See original GitHub issueLatest commit broke python 2.7 compatibility over string formatting 😦
python2.7 get-pip.py
Traceback (most recent call last):
File "get-pip.py", line 24226, in <module>
main()
File "get-pip.py", line 199, in main
bootstrap(tmpdir=tmpdir)
File "get-pip.py", line 82, in bootstrap
from pip._internal.cli.main import main as pip_entry_point
File "/tmp/tmpO8Gfeg/pip.zip/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:11 (5 by maintainers)
Top Results From Across the Web
Python 2.7 installation is broken #102 - micheles/decorator
From my experience on other projects getting that issue, I would bet this is caused by performing the upload using an old setuptools...
Read more >macos - How to fix broken python 2.7.11 after OSx updates ...
How I got it to work: · 1 - Removed python 2.7 by using the post in here · 2 - Removed the...
Read more >Issue 29525: Python 2.7.13 for Windows broken (from prompt)
I used to have an older version of python 2.7 that has worked for years. I just upgraded to 2.7.13 for Windows, 32...
Read more >apt - Uninstalling Python 2.7.12 on ubuntu 18.04 ended with ...
Uninstalling Python 2.7.12 on ubuntu 18.04 ended with broken packages [duplicate] ... sudo apt install python Reading package lists.
Read more >Entware/Python2 broken - Zyxel Community
I fixed it using the system python2 (/usr/bin/python2; Python 2.7.9). The entware Python 2 require building a new package list. It can be...
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
Please use https://bootstrap.pypa.io/2.7/get-pip.py.
https://github.com/pypa/get-pip/commit/b44c5248c6916cbfa650e419fc8fb9ed39dd6a44 was the commit that provided a helpful message to users when this was migrated. That was reverted after a grace period.