Anaconda install

On MS Windows, OS X, and Linux, it is best to install Anaconda for the local user, which does not require administrator permissions and is the most robust type of installation. For users on any of the three platforms who need to do so, Anaconda can also be installed system wide, which does require administrator permissions.

TIP: If you don’t want the hundreds of packages included with Anaconda, you can download Miniconda, a mini version of Anaconda that includes just conda, its dependencies, and Python.

Anaconda for Windows install

Download the Anaconda installer and double click it. Follow the prompts to install to the default location.

NOTE: Do not install as Administrator unless admin privileges are required.

NOTE: If you encounter any issues during installation, please temporarily disable your anti-virus software during install, then immediately re-enable it.

After a successful installation you will see output like this:

../_images/anaconda-install-win.png

When your install is complete, begin using Anaconda with the instructions in What’s next?

Windows uninstall

In the Control Panel, choose “Add or Remove Programs” or “Uninstall a program” and then select “Python 3.5 (Anaconda)” or your version of Python.

Anaconda for OS X graphical install

  1. Download the Anaconda installer and double click the .pkg file. Answer the prompts on Introduction, Read Me, and License screens.

  2. On Destination Select screen, you must select “Install for me only.”

    IMPORTANT: If you get the error message “You cannot install Anaconda in this location”, reselect “Install for me only”.


    ../_images/osxbug2.png

  3. On “Installation Type” you may choose to install in another location. Standard install will put Anaconda in your home user directory .


    ../_images/customizebutton.png

    NOTE: Advanced users may select “customize” to not add Anaconda to the bash PATH:


    ../_images/pathoption.png

  4. Click the Install button.

After a successful installation you will see output like this:

../_images/anaconda-install-osx.png

When your install is complete, begin using Anaconda with the instructions in What’s next?

Anaconda for OS X command line install

  1. Go to the DOWNLOAD ANACONDA NOW page. Beneath the “Graphical Installer” buttons for Anaconda for OS X, there are command-line text links for Python versions 2.7 and 3.5.

  2. (Optional) Verify the data integrity with MD5.

  3. Download the command line installer for Anaconda with Python 2.7 or Anaconda with Python 3.5.

  4. In the shell execute for Python 2.7:

    bash ~/Downloads/Anaconda2-4.0.0-MacOSX-x86_64.sh

    or for Python 3.5:

    bash ~/Downloads/Anaconda3-4.0.0-MacOSX-x86_64.sh

    NOTE: You should type bash regardless of whether you are actually using the bash shell.

The output of a successful installation will include the messages “Installation finished.” and “Thank you for installing Anaconda!”

When your install is complete, begin using Anaconda with the instructions in What’s next?

OS X uninstall

Because Anaconda is contained in one directory, uninstalling Anaconda is simple – in your terminal window, remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”: rm -rf ~/anaconda3

Linux install

In your browser download the Anaconda installer for Linux, then in your terminal window type the following:

bash ~/Downloads/Anaconda3-4.0.0-Linux-x86_64.sh

NOTE: Replace ~/Downloads with your actual path and Anaconda3-4.0.0-Linux-x86_64.sh with your actual file name.

NOTE: Accept the default location or select a user-writable install location such as ~/anaconda.

NOTE: Install Anaconda as a user unless root privileges are required.

Follow the prompts on the installer screens, and if unsure about any setting, simply accept the defaults, as they can all be changed later.

NOTE: If you select the option to not add the Anaconda directory to your bash shell PATH environment variable, you may later add this line to the file .bashrc in your home directory: export PATH="/home/username/anaconda/bin:$PATH" Replace /home/username/anaconda with your actual path.

The output of a successful installation will include the messages “Installation finished.” and “Thank you for installing Anaconda!”

Finally, close and re-open your terminal window for the changes to take effect.

When your install is complete, begin using Anaconda with the instructions in What’s next?

Linux uninstall

Because Anaconda is contained in one directory, uninstalling Anaconda is simple – in your terminal window, remove your entire Anaconda directory, which will have a name such as “anaconda2” or “anaconda3”: rm -rf ~/anaconda3

Updating from older Anaconda versions

You can easily update to the latest Anaconda version by updating conda, then Anaconda as follows:

conda update conda
conda update anaconda