ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

bash: activate: No such file or directory #9539

Open grgsolymosi opened 6 years ago

grgsolymosi commented 6 years ago

Anaconda version: 1.8.7 Operating System: 16.04 LTS

OUTPUT:

bash: activate: No such file or directory
george@GS:~$ conda env list
conda: command not found

This is from the base(root) environment/Environments/Open Terminal

It worked fine so far. It happened the same once, but with a restart has been resolved. Now the restart doesn't help at all.

What could be the problem?

bioruffo commented 6 years ago

activate is located within the ../anaconda3/bin/ directory. Possibly you don't have it in your PATH? Try:

cd (path-to-anaconda3)/bin
source activate root
grgsolymosi commented 6 years ago

@bioruffo Thank you for your kind efforts! I don't really remember what I did then. Finally - I don't if at this issue or at another, but I decided to leave anaconda in this task and continued without it using virtualenv and virtualenvwrapper and worked fine to be honest. Maybe some scientific application pull me back in the near future, we will see. Thank you once again, next time I will definitely test your solution. George

ehsong commented 4 years ago

I have the same issue -- I don't have activate under anaconda3/bin, so I cannot execute source anaconda3/bin/activate

Geo2001 commented 4 years ago

yes @ehsong I have a similar issue!

Rafid00 commented 6 months ago

Please help I did activate conda environment using %%bash source activate midas-py310. but when I open another code cell the environment gets restarted to the default one. (to verify, I checked python version of the environment and base). How do I keep the conda environment up and running.