-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
pip update to 22.x fails #605
Comments
Hi Michael. I'm not quite sure what to do here. Does the issue only occur when using conda? In that case, is it an issue with conda? There's very little special about the 22.x release that should impact installation. In fact, it wasn't meant to be a major bump at all. I suspect the issue lies with pip or conda or most likely something specific to your environment. If you can find something that setuptools can do to help avoid this issue, then do feel free to re-open this ticket or open another as appropriate. |
It continues to fail for 23.0 with the same problem: ipython_test)└─❱❱❱ pip install setuptools --upgrade +4071 21:18 ❰─┘
Collecting setuptools
Using cached setuptools-23.0.0-py2.py3-none-any.whl
Installing collected packages: setuptools
Found existing installation: setuptools 22.0.5
Cannot remove entries from nonexistent file /Users/klay6683/miniconda3/envs/ipython_test/lib/python3.5/site-packages/easy-install.pth and this can not be a problem of your build process? Don't have anything else failing from pip unless somebody messes up their build. |
Or is it maybe a |
Is the Also, which pip are you using?
|
No, that file does not exist. Isn't that what the above error suggests? (ipython_test)└─❱❱❱ which -a pip +4078 22:21 ❰─┘
/Users/klay6683/miniconda3/envs/ipython_test/bin/pip
┌─( ~/D/src )──────────────────────────────────────────────────────────────────────( @MacL2938 )─┐
(ipython_test)└─❱❱❱ pip --version +4079 22:21 ❰─┘
pip 8.1.2 from /Users/klay6683/miniconda3/envs/ipython_test/lib/python3.5/site-packages (python 3.5) |
Ok yeah can you make sure setuptools is installed first?
Also what's the output for
And then what happens with just
|
(ipython_test)└─❱❱❱ python -c "import setuptools" +4098 22:40 ❰─┘
┌─( ~/D/s/a/m/Tutorials λ:py3_summer | ✗ ✱ ◼ ea08826 )───────────────────────────────────────────( @MacL2938 )─┐
(ipython_test)└─❱❱❱ conda list +4099 22:40 ❰─┘
# packages in environment at /Users/klay6683/miniconda3/envs/ipython_test:
#
appnope 0.1.0 py35_0 defaults
backports 1.0 py35_0 defaults
backports.shutil-get-terminal-size 1.0.0 <pip>
decorator 4.0.9 py35_0 defaults
get_terminal_size 1.0.0 py35_0 defaults
ipython 4.2.0 py35_1 defaults
ipython-genutils 0.1.0 <pip>
ipython_genutils 0.1.0 py35_0 defaults
openssl 1.0.2h 1 defaults
path.py 8.2.1 py35_0 defaults
pexpect 4.0.1 py35_0 defaults
pickleshare 0.7.2 py35_0 conda-forge
pip 8.1.2 py35_0 defaults
prompt-toolkit 1.0.0 <pip>
ptyprocess 0.5.1 py35_0 defaults
pygments 2.1.3 <pip>
python 3.5.1 0 defaults
python-contrib-nbextensions alpha <pip>
python.app 1.2 py35_4 defaults
readline 6.2 2 <unknown>
setuptools 22.0.5 py35_0 defaults
simplegeneric 0.8.1 py35_1 defaults
six 1.10.0 <pip>
sqlite 3.13.0 0 defaults
tk 8.5.18 0 <unknown>
traitlets 4.2.1 py35_0 defaults
wcwidth 0.1.6 <pip>
wheel 0.29.0 py35_0 defaults
xz 5.0.5 1 defaults
zlib 1.2.8 3 defaults
┌─( ~/D/s/a/m/Tutorials λ:py3_summer | ✗ ✱ ◼ ea08826 )───────────────────────────────────────────( @MacL2938 )─┐
(ipython_test)└─❱❱❱ pip install setuptools +4100 22:40 ❰─┘
Requirement already satisfied (use --upgrade to upgrade): setuptools in /Users/klay6683/miniconda3/envs/ipython_test/lib/python3.5/site-packages/setuptools-22.0.5-py3.5.egg
|
A google search for the error message in the OP revealed ContinuumIO/anaconda-issues#542, pypa/pip#2751, and tensorflow/tensorflow#622. It seems that there's an issue when setuptools is installed by conda and upgraded by pip. The issue has existed for some time and isn't due to any recent builds of setuptools. |
CC @ilanschnell |
Trying to get the new setuptools into a fresh conda env fails:
The text was updated successfully, but these errors were encountered: