Welcome, Guest Login

Enterprise Support

Recovering Your Anaconda Installation

Last Updated: Jan 18, 2017 04:29PM CST
If your Anaconda installation is in a state where normal conda commands are not functioning you can use the following to repair Anaconda and preserve your installed packages and environments. The following steps assume that your installation path is your user's home directory with the name "anaconda" and the home directory is your current working directory. This may be different for your installation so be sure to use the correct path and directory name.

First, download a new installer, http://repo.continuum.io/archive/

   mv anaconda anaconda_orig                         

- Install to same directory as your original       
   bash Anaconda2-4.0.0-Linux-x86_64.sh       
   rsync -a anaconda_orig/ anaconda/              
   rm -rf anaconda_orig                                      


Mac OS X:
    mv anaconda anaconda_orig                        
- Install to same directory as your original      
    bash Anaconda2-4.0.0-MacOSX-x86_64.sh    
    rsync -a anaconda_orig/ anaconda/                
    rm -rf anaconda_orig                                        

    move Anaconda Anaconda_old                    
-Run the Anaconda .exe installer as usual then use robocopy to sync the directories.
    robocopy Anaconda_old Anaconda /S         
    rd /s Anaconda_old                                        

You should now be able to run "conda list" to view the packages from the previous installation or "conda info -e" to list the environments created in the previous installation which are now available in the new installation.
seconds ago
a minute ago
minutes ago
an hour ago
hours ago
a day ago
days ago
Invalid characters found