Closed danmou closed 7 years ago
Hey @Danmou -- thanks for reporting and sorry about that! Could you do the following, either in xonsh
or a python repl?
from conda import config
print(config.envs_dirs)
thanks!
No problem! I get the following output:
('/home/daniel/.conda/envs', '/usr/envs')
I'm assuming this was supposed to include /home/daniel/anaconda3/envs
?
That's what I would've expected. And certainly why it can't find your py35
environment. Now we just need to figure out how to set the envs_dirs
...
Ok, so in your .condarc
file (or create one if you don't have one) you can add the following:
envs_dirs:
- /home/daniel/anaconda3/envs
and then it should work
Thanks, that fixed it. Although now py35 is listed twice when I do conda info --envs
- any idea where it is getting the other one from? I have previously created, removed and recreated the environment so that might be the reason for the problems.
Maybe .conda/environments.txt
? Also you should be able to type conda activate <TAB>
and get a list of available environments from the tab completion.
environments.txt
doesn't seem to affect it. Anyway it's not really a problem so I guess I'll just live with it. Thanks for the help!
I can't activate any environments on my machine (Ubuntu 16.04):