-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
conda update anaconda breaks pip user install #4807
Comments
@justbennet What happens when you do: $ /usr/local/anaconda2-4.0.0/bin/conda create -n condatest
$ /usr/local/anaconda2-4.0.0/bin/source activate condatest
$ pip install mriqc --user |
Wouldn't creating a virtual environment obviate needing to use
I think that there is something incorrect in the setup of My report was to inform Continuum that something might be amiss in the build of pip being distributed. We can find ways to finesse the situation, but it seems like it could be a problem that they might wish to fix. |
@justbennet Could you please repeat the same steps, which a small change (install pip while creating the test environment, so that you don't use pip from the root environment):
|
Of course that works. It replaces the broken pip that tries to access a folder to which I don't have permission with one that tries to access a folder that I own. I don't see how that provides any useful information whatsoever as to the brokenness or not of the centrally installed pip. I didn't think there was anything in pip itself that prevented use by people other than the installer. Perhaps I should check that assumption. I will repeat: I have plenty of workarounds. This is just reporting in good faith what I consider to be a misconfiguration of pip by Anaconda. If the Anaconda/conda/pip maintainers disagree, then they can close the issue. We will use something other than Anaconda, which I've already been told in the google group is intended for personal use and not meant to be centrally installed and maintained, and is therefore probably inappropriate for our use case. I accept that. |
We are having the same issue with Anaconda2 4.3. This used to work and still works with Anaconda3. |
I don't think there's anything that changing conda's own code can fix here. |
This issue was moved to ContinuumIO/anaconda-issues#1668 |
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. |
Per ijstokes@continuum.io, reposting here from Anaconda Google group.
After running
conda update anaconda
on an Ubuntu 16.04 machine,pip
seems to be broken for user installs.I believe this should work, as it did prior to the update.
Anyone have an idea why it wants to write to the central directory for a user installation?
I reinstalled from a saved Anaconda installer. After installation, but before update, pip install mriqc --user starts downloading with no errors. After running conda update anaconda again, I get the same error as in the original post.
Both installation and update are run as root. The pip command is being issued by an unprivileged user in both working and non-working cases.
This is the header information from my installer:
in case that matters or helps.
Thanks, -- bennet
The text was updated successfully, but these errors were encountered: