关于ubuntu:找不到我的conda环境

Can't find my conda environment

我使用以下链接在ubuntu中安装了anaconda。我将所有python软件包安装在" my_env "中。现在,我们重新启动无法进入conda环境的系统。我在

1
root@username:

并尝试了source activate my_env

1
bash: activate: No such file or directory

,当我尝试conda info --envs .

时,我得到了错误:conda: command not found谢谢!


实际上我没有在我的bashrc文件中放入export PATH=/home/ubuntu/anaconda3/bin:$PATH命令。

这个人没有在他的文章中提及它。 pb>

1
vi ~/.bashrc

粘贴:export PATH=/home/ubuntu/anaconda3/bin:$PATH

保存它

1
source ~/.bashrc

我们就完成了!