get-pip.py for Python 3.5
See original GitHub issueSince yesterday’s release of pip 21.0, get-pip.py no longer supports Python 3.5 due to using f-strings:
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 "<frozen importlib._bootstrap>", line 969, in _find_and_load
File "<frozen importlib._bootstrap>", line 954, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 896, in _find_spec
File "<frozen importlib._bootstrap_external>", line 1139, in find_spec
File "<frozen importlib._bootstrap_external>", line 1115, in _get_spec
File "<frozen importlib._bootstrap_external>", line 1096, in _legacy_get_spec
File "<frozen importlib._bootstrap>", line 444, in spec_from_loader
File "<frozen importlib._bootstrap_external>", line 533, in spec_from_file_location
File "/tmp/tmppehzzo9e/pip.zip/pip/_internal/cli/main.py", line 60
sys.stderr.write(f"ERROR: {exc}")
^
SyntaxError: invalid syntax
Could a /3.5/get-pip.py be added, analogous to the 3.4 and older versions?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:11 (3 by maintainers)
Top Results From Across the Web
How do I install PIP in python 3.5? - Quora
Installing PIP on Windows This is a comprehensive guide to install pip on windows OS. Step 1: Install Python (if you already don't...
Read more >get-pip.py
Pip is a thing that installs packages, pip itself is a package that someone # might want to install, especially if they're looking...
Read more >Install pip for python 3.5 - Stack Overflow
I'm trying to install Tensorflow for python 3.5 using pip3 -- for reasons described in this github issue -- but when I install...
Read more >Pip: Installing Python Packages
To install pip, go to https://bootstrap.pypa.io/get-pip.py. Save the file if you're prompted to do so; if the code for get-pip.py appears in your...
Read more >How to Install Pip on Windows - ActiveState
Click to install Python's standard package manager, Pip, ... To manually install pip on Windows, you will need a copy of get-pip.py.
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
@anetanel The site will update when this PR by @pradyunsg will be merged In the meantime you can use 3.4 instead and see if that works, just point your CI to
https://bootstrap.pypa.io/3.4/get-pip.py
@danielfm Everything got moved around due to #61. The URL is now https://bootstrap.pypa.io/pip/3.5/get-pip.py.