-
Notifications
You must be signed in to change notification settings - Fork 226
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
Be more selective in which system commands Anaconda overrides #372
Comments
+1. I think this is highly desirable for anyone with a complex work environment. |
Oops, I forgot to transfer the context where I discovered the issue: A participant at a Software Carpentry bootcamp had tripped over #307 after enabling the I'd had other folks complain to me that they'd found Anaconda frustrating when helping other people out at introductory programming workshops, and I'd now bet that this is the problem they were running into. I hadn't understood what they were complaining about previously, as I'd never encountered the optional |
Is the name collision with virtualenv’s |
With conda 4.4, we introduced |
(Relocated from conda/conda#1412)
When the Anaconda installer is configured to modify the user's
.bashrc
file, accessing shadowed system commands requires specifying the full path. Anaconda's scope means that this can lead to surprising consequence, where commands are shadowed when not expected, especially if there's a problem with the Anaconda version of the command (e.g. issue #307)@asmeurer clarified that having
source deactivate
not work is deliberate (to avoid accidentally breaking invocation ofconda
andsource activate
), so my request is that the Anaconda binaries be split into two groups for defaultPATH
modification purposes, a more tightly controlled and clearly documented subset which overrides system binaries (such asconda
, andactivate
), and the full complement, which would be added to the end ofPATH
, ensuring their availability without shadowing the system versions.Activating a conda environment would still ensure that the system versions were all shadowed, but side effects outside conda environments would be minimised.
The text was updated successfully, but these errors were encountered: