Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python2.7 pip requires updated get-pip.py URL #2

Open
winfamy opened this issue Jun 14, 2021 · 0 comments
Open

python2.7 pip requires updated get-pip.py URL #2

winfamy opened this issue Jun 14, 2021 · 0 comments

Comments

@winfamy
Copy link

winfamy commented Jun 14, 2021

The Python website has updated the get-pip.py links for use for versions Python3+. Using the old URL makes builds on certain containers fail (my first being beckley).

Old: https://bootstrap.pypa.io/pip/get-pip.py
New (for Python2.7): https://bootstrap.pypa.io/pip/2.7/get-pip.py

Error log for reference (irrelevant output not included)

#5 134.6   % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
#5 134.6                                  Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 -100 1892k  100 1892k    0     0  5565k      0 --:--:-- --:--:-- --:--:-- 5565k
#5 134.9 ERROR: This script does not work on Python 2.7 The minimum supported Python version is 3.6. Please use https://bootstrap.pypa.io/pip/2.7/get-pip.py instead.
#5 134.9 /bin/sh: 1: pip: not found
#5 134.9 /bin/sh: 1: pip: not found
------
executor failed running [/bin/sh -c apt-get update -y;     apt-get install -y python curl python-dev git libssl-dev libffi-dev build-essential;     curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py;     python get-pip.py;     pip install skyfield;    pip install --upgrade pwntools]: exit code: 127
make: *** [Makefile:14: solver] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant