conda: command not found

问题描述:Ubuntu下安装Anaconda2-5.2.0-Linux-x86_64.sh之后重启,conda命令不识别


分析:首先,Anaconda提供了包管理和虚拟环境管理功能,可以方便地解决多版本python共存、切换以及第三方包安装问题。回归正题,安装完了不识别,推测是路径没有加入到环境变量PATH中。

解决方法

1.编辑文件:  sudo gedit etc/profile 

2.将添加到文件的最后: export PATH=$PATH:/home/pig/anaconda2/bin

3.保存文件并重启linux系统: sudo reboot


猜你喜欢

转载自blog.csdn.net/hbu_pig/article/details/80668011