-
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 activate" behavior changed after conda 4.5 #9185
Comments
Took me a while to find something official in the changelogs. Here it is: https://github.com/conda/conda/blob/master/CHANGELOG.md#440-2017-12-20 This is a MAJOR change and not well publicized. |
@abalter Great find. The changelog explains the problem well. |
I couldn't find references to the |
I think one of the biggest issues is that the installation instructions still suggest modifying PATH. |
Don't want to post yet a new issue but the installer output is also still wrong, April 2019 meanwhile...:
|
@axgkl conda.sh should be run, not sourced. Try: |
Hi there, thank you for your contribution to Conda! This issue has been automatically marked as stale because it has not had recent activity. It will be closed automatically if no further activity occurs. If you would like this issue to remain open please:
NOTE: If this issue was closed prematurely, please leave a comment and we will gladly reopen the issue. In case this issue was originally about a project that is covered by the Anaconda issue tracker (e.g. Anaconda, Miniconda, packages built by Anaconda, Inc. like Anaconda Navigator etc), please reopen the issue there again. Thanks! |
Hi again! This issue has been closed since it has not had recent activity. Thank you for your contribution. |
I got the notification as below, which is something new to conda 4.5. But this has not been reflected in the documentation.
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
If your shell is Bash or a Bourne variant, enable conda for the current user with
or, for all users, enable conda with
The options above will permanently enable the 'conda' command, but they do NOT
put conda's base (root) environment on PATH. To do so, run
in your terminal, or to put the base environment on PATH permanently, run
Previous to conda 4.4, the recommended way to activate conda was to modify PATH in
your ~/.bashrc file. You should manually remove the line that looks like
^^^ The above line should NO LONGER be in your ~/.bashrc file! ^^^
The text was updated successfully, but these errors were encountered: