-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Using the venv module gets you a different pip/setuptools version #395
Comments
Odd, it seems that the version of And the usage of the built-in root@5739dbcd587f:/# python -m venv
usage: venv [-h] [--system-site-packages] [--symlinks | --copies] [--clear]
[--upgrade] [--without-pip] [--prompt PROMPT]
ENV_DIR [ENV_DIR ...] I'd come across this issue https://bugs.python.org/issue34556#msg324433 You could also use the root@59616c014e15:/# pip install virtualenv
Collecting virtualenv
Downloading https://files.pythonhosted.org/packages/4f/ba/6f9315180501d5ac3e707f19fcb1764c26cc6a9a31af05778f7c2383eadb/virtualenv-16.5.0-py2.py3-none-any.whl (2.0MB)
|████████████████████████████████| 2.0MB 2.4MB/s
Installing collected packages: virtualenv
Successfully installed virtualenv-16.5.0
root@59616c014e15:/# virtualenv venv
Using base prefix '/usr/local'
New python executable in /venv/bin/python
Installing setuptools, pip, wheel...
done.
root@59616c014e15:/# /venv/bin/pip list
Package Version
---------- -------
pip 19.1.1
setuptools 41.0.1
wheel 0.33.4 Version 16.5 is the one with the latest release versions
|
Came across this as well. Can also be reproduced with:
|
This is really an upstream issue that is installing the version of |
If you use Python 3's built-in
venv
module, you get a different version of thepip
andsetuptools
packages than the latest installed in the images.See here:
Similar older issue that was closed: #118
Relevant discussion: #365 (comment)
The text was updated successfully, but these errors were encountered: