Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Issues while installing Anaconda3

After following the installation instructions, I am stuck here.

The step during Anaconda installation where I am getting error:

Please answer 'yes' or 'no':'
>>> yes
    
Anaconda3 will now be installed into this location:
/home/sonal/anaconda3
    
  - Press ENTER to confirm the location
  - Press CTRL-C to abort the installation
  - Or specify a different location below
    
[/home/sonal/anaconda3] >>>

ERROR: File or directory already exists: ‘/home/sonal/anaconda3‘

If you want to update an existing installation, use the -u option.

Can anybody help me solving this?

like image 562
sonal Avatar asked Jun 20 '26 22:06

sonal


1 Answers

Looks like there is an existing installation directory of 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.

To Reinstall: Run the following commands:

  1. Remove anaconda3 directory rm -rf ~/anaconda3
  2. Remove anaconda path in the PATH variable. Edit ~/.bashrc file.
  3. Remove other hidden files. rm -rf ~/.condarc ~/.conda ~/.continuum
  4. Re-run the installation script.
like image 135
nareshg Avatar answered Jun 22 '26 11:06

nareshg



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!