How to install Anaconda Distribution?

How to install Anaconda Distribution?

21st August 2018 Off By admin

System requirements

  • License: Free use and redistribution under the terms of the Anaconda End User License Agreement.
  • Operating system: Windows Vista or newer, 64-bit macOS 10.10+, or Linux, including Ubuntu, RedHat, CentOS 6+, and others.
  • Windows XP supported on Anaconda versions 2.2 and earlier. See Old package lists. Download it from our archive.
  • System architecture: 64-bit x86, 32-bit x86 with Windows or Linux, Power8 or Power9.
  • Minimum 3 GB disk space to download and install

General installation information

On Windows, macOS, 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. However, if you need to, you can install Anaconda system wide, which does require administrator permissions.

 

Silent mode install

You can use silent mode to automatically accept default settings and have no screen prompts appear during installation.

Installing on Windows

  1. Download the Anaconda installer.

  2. Optional: Verify data integrity with MD5 or SHA-256. More info on hashes

  3. Double click the installer to launch.

    NOTE: To prevent permission errors, do not launch the installer from the Favorites folder.

    NOTE: If you encounter issues during installation, temporarily disable your anti-virus software during install, then re-enable it after the installation concludes. If you installed for all users, uninstall Anaconda and re-install it for your user only and try again.

  4. Click Next.

  5. Read the licensing terms and click “I Agree”.

  6. Select an install for “Just Me” unless you’re installing for all users (which requires Windows Administrator privileges) and click Next.

  7. Select a destination folder to install Anaconda and click the Next button. See FAQ.

    NOTE: Install Anaconda to a directory path that does not contain spaces or unicode characters.

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

    ../../_images/install-win-destination.png
  8. Choose whether to add Anaconda to your PATH environment variable. We recommend not adding Anaconda to the PATH environment variable, since this can interfere with other software. Instead, use Anaconda software by opening Anaconda Navigator or the Anaconda Prompt from the Start Menu.

    ../../_images/install-win-path.png
  9. Choose whether to register Anaconda as your default Python 3.6. Unless you plan on installing and running multiple versions of Anaconda, or multiple versions of Python, accept the default and leave this box checked.

  10. Click the Install button. If you want to watch the packages Anaconda is installing, click Show Details.

  11. Click the Next button.

  12. Optional: To install VS Code, click the Install Microsoft VS Code button. After the install completes click the Next button.

    ../../_images/vscode-install.png

    Or to install Anaconda without VS Code, click the Skip button.

    NOTE: Installing VS Code with the Anaconda installer requires an internet connection. Offline users may be able to find an offline VS Code installer from Microsoft.

  13. After a successful installation you will see the “Thanks for installing Anaconda” dialog box:

    ../../_images/anaconda-install-win.png
  14. If you wish to read more about Anaconda Cloud package management service and Anaconda support, check the boxes “Learn more about Anaconda Cloud” and “Learn how to get started with Anaconda”. Click the Finish button.

  15. After your install is complete, verify it by opening Anaconda Navigator, a program that is included with Anaconda: from your Windows Start menu, select the shortcut Anaconda Navigator. If Navigator opens, you have successfully installed Anaconda. If not, check that you completed each step above, then see our Help page.

    ../../_images/navigator-anaconda-prompt.png

     

 

Installing on Linux

For x86 systems.

  1. In your browser, download the Anaconda installer for Linux.

  2. Optional: Verify data integrity with MD5 or SHA-256. (For more information on hashes, see cryptographic hash validation.)

    1. Run the following:

      OR:

      NOTE: Replace /path/filename with the actual path and filename of the file you downloaded.

    2. Optional: Verify results against the proper hash page to make sure the hashes match.

  3. Enter the following to install Anaconda for Python 3.6:

    OR Enter the following to install Anaconda for Python 2.7:

    NOTE: Include the bash command regardless of whether or not you are using Bash shell.

    NOTE: If you did not download to your Downloads directory, replace ~/Downloads/ with the path to the file you downloaded.

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

  4. The installer prompts “In order to continue the installation process, please review the license agreement.” Click Enter to view license terms.

  5. Scroll to the bottom of the license terms and enter “Yes” to agree.

  6. The installer prompts you to click Enter to accept the default install location, CTRL-C to cancel the installation, or specify an alternate installation directory. If you accept the default install location, the installer displays “PREFIX=/home/<user>/anaconda<2 or 3>” and continues the installation. It may take a few minutes to complete.

  7. The installer prompts “Do you wish the installer to prepend the Anaconda<2 or 3> install location to PATH in your /home/<user>/.bashrc ?” Enter Yes.

    NOTE: If you enter “No”, you must manually add the path to Anaconda or conda will not work. See FAQ.

  8. The installer describes Microsoft VS Code and asks if you would like to install VS Code. Enter yesorno. If you selected yes, follow the instructions on screen to complete the VS Code installation.

    NOTE: Installing VS Code with the Anaconda installer requires an internet connection. Offline users may be able to find an offline VS Code installer from Microsoft.

  9. The installer finishes and displays “Thank you for installing Anaconda<2 or 3>!”

  10. Close and open your terminal window for the installation to take effect, or you can enter the command source ~/.bashrc.

  11. After your install is complete, verify it by opening Anaconda Navigator, a program that is included with Anaconda: Open a Terminal window and type anaconda-navigator. If Navigator opens, you have successfully installed Anaconda.

 

 

Installing on macOS

You can install Anaconda using either the graphical installer (“wizard”) or the command line (“manual”) instructions below. If you are unsure, choose the graphical install.

macOS graphical install

  1. Download the graphical macOS installer for your version of Python.

  2. OPTIONAL: Verify data integrity with MD5 or SHA-256. For more information on hashes, see What about cryptographic hash verification?.

  3. Double-click the downloaded file and click continue to start the installation..

  4. Answer the prompts on the Introduction, Read Me and License screens.

  5. Click the Install button to install Anaconda in your home user directory (recommended):

    ../../_images/customizebutton.png
  6. OR, click the Change Install Location button to install in another location (not recommended).

    On the Destination Select screen, select Install for me only.

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

    ../../_images/osxbug2.png
  7. Click the continue button.

  8. Optional: To install VS Code, click the Install Microsoft VS Code button. After the install completes click the Continue button.

    ../../_images/vscode-macos-install.png

    Or to install Anaconda without VS Code, click the Continue button.

    NOTE: Installing VS Code with the Anaconda installer requires an internet connection. Offline users may be able to find an offline VS Code installer from Microsoft.

  9. A successful installation displays the following screen:

    ../../_images/anaconda-install-osx.png
  10. After your install is complete, verify it by opening Anaconda Navigator, a program that is included with Anaconda: from Launchpad, select Anaconda Navigator. If Navigator opens, you have successfully installed Anaconda. If not, check that you completed each step above, then see our Help page

    TIP: Anaconda Navigator contains Jupyter Notebook and the Spyder IDE. For more information about using Navigator, see Navigator.

Using the command-line install

Use this method if you prefer to use a terminal window.

  1. In your browser, download the command-line version of the macOS installer for your system.

  2. OPTIONAL: Verify data integrity with MD5 or SHA-256. For more information on hashes, see What about cryptographic hash verification?

  3. Install for Python 3.6 or 2.7:

    • For Python 3.6 enter the following:

    • For Python 2.7, open the Terminal.app or iTerm2 terminal application and then enter the following:

    NOTE: Include the bash command regardless of whether or not you are using the Bash shell.

    NOTE: Replace ~/Downloads with your actual path and Anaconda3-5.2.0-MacOSX-x86_64.sh with actual name of the file you downloaded.

  4. The installer prompts “In order to continue the installation process, please review the license agreement.” Click Enter to view license terms.

  5. Scroll to the bottom of the license terms and enter yes to agree to them.

  6. The installer prompts you to Press Enter to confirm the location, Press CTRL-C to cancel the installation or specify an alternate installation directory. If you accept the default install location, the installer displays “PREFIX=/home/<user>/anaconda<2 or 3>” and continues the installation. It may take a few minutes to complete.

    NOTE: We recommend you accept the default install location.

  7. The installer prompts “Do you wish the installer to prepend the Anaconda install location to PATH in your /home/<user>/.bash_profile ?” We recommend “yes”.

    NOTE: If you enter “no”, specify the path to Anaconda.

    • Add export PATH="/<path to anaconda>/bin:$PATH" in .bashrc or .bash_profile.
    • Or set the PATH variable: export PATH="/<path to anaconda>/bin:$PATH"

    Replace “<path to anaconda>” with the actual path to your Anaconda installation.

  8. The installer finishes and displays “Thank you for installing Anaconda!”

  9. The installer describes Microsoft VS Code and asks if you would like to install VS Code. Enter yes or no. If you selected yes, follow the instructions on screen to complete the VS Code installation.

    NOTE: Installing VS Code with the Anaconda installer requires an internet connection. Offline users may be able to find an offline VS Code installer from Microsoft.

  10. Close and open your terminal window for the installation to take effect.

  11. To verify the installation, see Verifying your installation.

 

(Any Comment related to this post or for any help/discussion please write here.)

Please follow and like us:

Enjoy this blog? Please spread the word :)