I successfully created two separate Python environments in Anaconda, yet seem to be unable to activate either one of them. I have tried to read up on this topic as much as possible here on Stackoverflow, yet no solution did resolve my issue. I added information asked for by comments in this question (Anaconda Environment Doesnt activate).
When trying to activate an environment, the console output is -bash: activate: No such file or directory
.
The output of which conda
is /Users/username/anaconda3/bin/conda
.
The output of type source
is source is a shell builtin
.
When trying which activate
, the shell returns nothing.
In my bin
folder, I also seem not to have an activate
executable, but only one which is called activate-global-python-argcomplete
.
Why do I lack the standard activate file and how I could resolve this issue best?
I experience a similar problem. In my case, the problem is related to the use of the tcsh
, but activate
only supports bash
and zsh
.
You can check your current used shell with the command
echo $0
.
You have to use a compatible shell in order to use the source activate
command.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With