简体   繁体   English

安装 Anaconda3 时的问题

[英]Issues while installing Anaconda3

After following the installation instructions, I am stuck here.按照安装说明进行操作后,我被困在这里。

The step during Anaconda installation where I am getting error: 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] >>>

ERROR: File or directory already exists: '/hone/sonal/anac&1da3' If you want to update an existing installation, use the -u option.错误:文件或目录已存在:'/hone/sonal/anac&1da3' 如果要更新现有安装,请使用 -u 选项。 sonal@sonal-HP-Notebook:/tmp$ sonal@sonal-HP-笔记本:/tmp$

Can anybody help me solving this?有人可以帮我解决这个问题吗?

two way as follows两种方式如下

  1. First: rm -rf /home/sonal/anaconda3 Second: reinstall acaconda3第一:rm -rf /home/sonal/anaconda3 第二:重新安装acaconda3

or或者

  1. use -u with your install command在安装命令中使用-u

Looks like there is an existing installation directory of anaconda3.看起来存在 anaconda3 的现有安装目录。 You need to remove the old installation directory and reinstall or you can update as well.您需要删除旧的安装目录并重新安装,或者您也可以更新。

To update: You can just run the command with '-u' option as mentioned in the screenshot itself.更新:您可以使用屏幕截图中提到的“-u”选项运行命令。

To Reinstall: Run the following commands:重新安装:运行以下命令:

  1. Remove anaconda3 directory rm -rf ~/anaconda3删除 anaconda3 目录 rm -rf ~/anaconda3
  2. Remove anaconda path in the PATH variable.移除 PATH 变量中的 anaconda 路径。 Edit ~/.bashrc file.编辑 ~/.bashrc 文件。
  3. Remove other hidden files.删除其他隐藏文件。 rm -rf ~/.condarc ~/.conda ~/.continuum rm -rf ~/.condarc ~/.conda ~/.continuum
  4. Re-run the installation script.重新运行安装脚本。

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

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