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 install not working #823
Comments
This worked for me:
|
Nope, same problem for me:
|
I assume condactivate is First try doing Then if that fails send in what |
|
hmm I'm using the python 2.7 one. let me check the 3.4 version. |
Everything works for me with a fresh install of miniconda v 3.4. Can you move your
|
This is the crux of the problem, I think:
It works fine if I do the same thing but in a python 3.4 environment instead of python 2.7. |
It seems that you are not linking to the right python. I don't know why this is, but when I call
Maybe @asmeurer has some ideas |
I don't use bash, so I don't use activate. I had to hack my own solution But why does pip work in Python 3 but not 2? On Tuesday, July 22, 2014, Andy R. Terrel notifications@github.com wrote:
|
More info: I use the fish shell. This has only started happening recently and I can't think of a change that On Tuesday, July 22, 2014, Andy R. Terrel notifications@github.com wrote:
|
Okay looks like fish isn't the problem...
|
My setup looks the same: (py27) ~ > ls (dirname (which python))/../lib/python2.7/site-packages
README setuptools-3.6-py2.7.egg setuptools.pth Like I said, it used to work fine and then it stopped. If I bootstrap install pip ( I guess we can chalk this up to some oddity of my system, I'll let you know if I ever find out what's going on. |
Can you show You can see that it is installing setuptools when it installs pip. |
This is the output of
|
Out of curiosity, is there a reason conda uses setuptools 3.6 instead of the most recent 5.4.1? |
I guess we haven't updated it in a while. @ilanschnell |
Try |
Is there a place we can contribute updated recipes for core conda use the way you can with Homebrew? E.g. pytest is out of date too, but I hate pestering you all every time this happens. Is that what conda/conda-recipes is for? |
At this point, no, we use a separate internal repo for the recipes for our official packages. |
I ran |
Conda works by unpacking the packages in the pkgs directory and then hard linking them to the environment. Sometimes these get corrupted somehow, breaking all environments that use them, and also any additional environments, since the same files are hard linked each time. Doing so in your root environment wouldn't affect it because the Python 3 version of setuptools is a separate package. An even if it were the same package it wouldn't because it would just break the link. |
Ah, thanks for the explanation. |
That's one for an FAQ.
|
I created a troubleshooting page http://conda.pydata.org/docs/troubleshooting.html#occasionally-an-installed-package-will-become-corrupted |
Hi there, thank you for your contribution to Conda! This issue has been automatically locked since it has not had recent activity after it was closed. Please open a new issue if needed. |
I make a new environment with pip and setuptools then try to install something trivial and it fails with the message
setuptools must be installed to install from a source distribution
. I've lately had to bootstrap install setuptools and pip every time I want to use pip.The text was updated successfully, but these errors were encountered: