繁体   English   中英

Anaconda2安装错误

[英]Anaconda2 Installation Error

我无意中删除了〜/ 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

安全卸载。

但是仍然出现该错误。 我猜想它来自旧安装的残迹。

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

source ~/.bash_profile

并检查错误是否消失。

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM