Anaconda2安装错误

时间:2018-01-06 22:18:00

标签: python anaconda

我意外删除了〜/ anaconda2目录,但无法取回它。

尝试重新安装anaconda2:

./Anaconda2-5.0.1-Linux-x86.sh

经过一切后,我得到以下错误,我不明白......

PREFIX=/home/mike/anaconda2
installing: python-2.7.14-h41cc02d_21 ...
./Anaconda2-5.0.1-Linux-x86.sh: 358: ./Anaconda2-5.0.1-Linux-x86.sh: /home/mike/anaconda2/pkgs/python-2.7.14-h41cc02d_21/bin/python: not found

有什么想法吗?

我确实做了:

rm -rf ~/anaconda
rm -rf ~/.anaconda/navigator
rm -rf ~/.condarc ~/.conda ~/.continuum
nano ~/.bash_profile # remove the anaconda directory from your `PATH` env var
remove the shortcut from the applications folder

安全卸载。

但仍然得到那个错误。我猜测旧装置中的残余物。

1 个答案:

答案 0 :(得分:0)

您的python路径可能仍设置为Anaconda python。尝试重新启动shell或执行

source ~/.bash_profile

并检查错误是否消失。

相关问题