安装Anaconda3时出现问题

时间:2019-10-29 10:18:15

标签: python ubuntu installation anaconda

按照安装说明进行操作后,我被卡在了这里。

在Anaconda安装过程中出现错误的步骤:

Please answer ‘yes‘ or ‘no‘:‘
>>> yes

Anaconda3 will now be installed into this location:
/hone/sonal/anaconda3

- Press ENTER to confirm the location
- Press CTRL-C to abort the installation
- Or specify a different location below

[/hone/sonal/anaconda3] >>>
  

错误:文件或目录已存在:“ / hone / sonal / anac&1da3”       如果要更新现有安装,请使用-u选项。       sonal @ sonal-HP-Notebook:/ tmp $

有人可以帮我解决这个问题吗?

2 个答案:

答案 0 :(得分:0)

如下两种方式

  1. 首先:rm -rf / home / sonal / anaconda3其次:重新安装acaconda3

  1. 在安装命令中使用-u

答案 1 :(得分:0)

好像已经存在anaconda3的安装目录。您需要删除旧的安装目录并重新安装,也可以进行更新。

要更新: 您可以仅使用屏幕快照本身中提到的带有-u选项的命令。

要重新安装: 运行以下命令:

  1. 删除anaconda3目录 rm -rf〜/ anaconda3
  2. 删除PATH变量中的anaconda路径。编辑〜/ .bashrc文件。
  3. 删除其他隐藏文件。 rm -rf〜/ .condarc〜/ .conda〜/ .continuum
  4. 重新运行安装脚本。