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.

get-pip.py for Python 3.5

See original GitHub issue

Since 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:closed
  • Created 3 years ago
  • Reactions:5
  • Comments:11 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
okeren-cxcommented, Jan 24, 2021

@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

4reactions
JustAnotherArchivistcommented, May 31, 2021

@danielfm Everything got moved around due to #61. The URL is now https://bootstrap.pypa.io/pip/3.5/get-pip.py.

Read more comments on GitHub >

github_iconTop 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 >

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