Anaconda python mac os

Installation#

Review the system requirements listed below before installing Anaconda Distribution. If you don’t want the hundreds of packages included with Anaconda, install Miniconda, a mini version of Anaconda that includes just conda, its dependencies, and Python.

Looking for Python 3.5 or 3.6? See our FAQ .

System requirements

  • License: Free use and redistribution under the terms of the EULA for Anaconda Distribution.
  • Operating system: Windows 10 or newer, 64-bit macOS 10.13+, or Linux, including Ubuntu, RedHat, CentOS 7+, and others.
  • If your operating system is older than what is currently supported, you can find older versions of the Anaconda installers in our archive that might work for you. See Using Anaconda on older operating systems for version recommendations.
  • System architecture: Windows- 64-bit x86; MacOS- 64-bit x86 & M1; Linux- 64-bit x86, 64-bit aarch64 (AWS Graviton2), 64-bit Power8/Power9, s390x (Linux on IBM Z & LinuxONE).
  • Minimum 5 GB disk space to download and install.

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, with administrator permissions, you can install Anaconda system wide.

  • Installing on Windows
  • Installing on macOS
  • Installing on Linux
  • Installing on AWS Graviton2 (arm64)
  • Installing on Linux-s390x (IBM Z)
  • Installing on Linux POWER
  • Installing in silent mode
  • Installing for multiple users
  • Verifying your installation
  • Updating from older versions
  • Installing previous versions of Anaconda Distribution
  • Using Anaconda on older operating systems
  • Uninstalling Anaconda Distribution
Читайте также:  Html form submit empty input

Silent mode install

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

Need to use Anaconda on an older operating system?

Installing Anaconda on a non-networked machine (air gap)

  1. Obtain a local copy of the appropriate Anaconda installer for the non-networked machine. You can copy the Anaconda installer to the target machine using many different methods, including a portable hard drive, USB drive, or CD.
  2. After copying the installer to the non-networked machine, follow the detailed installation instructions for your operating system.

Install offline copies of both docs.anaconda.com and enterprise-docs.anaconda.com by installing the conda package anaconda-docs: conda install anaconda-docs

Install offline copies of documentation for many of Anaconda’s open-source packages by installing the conda package anaconda-oss-docs: conda install anaconda-oss-docs

Other ways to get Anaconda or Miniconda

The official Anaconda or Miniconda AMIs are on the AWS Marketplace.

If you have a CDH (Cloudera Distributed Hadoop) cluster, install the Anaconda parcel using Cloudera Manager. The Anaconda parcel provides a static installation of Anaconda, based on Python 2.7, that can be used with Python and PySpark jobs on the cluster.

Troubleshooting

If you experience errors during the installation process, review our Troubleshooting topics .

Источник

Free Download

Everything you need to get started in data science on your workstation.

  • Free distribution install
  • Thousands of the most fundamental DS, AI, and ML packages
  • Manage packages and environments from desktop application
  • Deploy across hardware and software platforms

Open Source

Access the open-source software you need for projects in any field, from data visualization to robotics.

User-friendly

With our intuitive platform, you can easily search and install packages and create, load, and switch between environments.

Trusted

Our securely hosted packages and artifacts are methodically tested and regularly updated.

Grid of logos

Anaconda Repository

Our repository features over 8,000 open-source data science and machine learning packages, Anaconda-built and compiled for all major operating systems and architectures.

Conda

Conda is an open-source package and environment management system that runs on Windows, macOS, and Linux. Conda quickly installs, runs, and updates packages and their dependencies. It also easily creates, saves, loads, and switches between environments on your local computer. It was created for Python programs, but it can package and distribute software for any language.

Terminal window screenshot

Navigator screenshot

Anaconda Navigator

Our desktop application lets you easily manage integrated applications, packages, and environments without using the command line.

Источник

Installing on macOS

If you use the .pkg installer for Miniconda, be aware that those installers may skip the Destination Select page which will cause the installation to fail. If the installer skips this page, click «Change Install Location. » on the Installation Type page and choose a location for your install, then click Continue.

  1. Download the installer:
    • Miniconda installer for macOS.
    • Anaconda installer for macOS.
  2. Verify your installer hashes .
  3. Install:
    • Miniconda—In your terminal window, run:
bash Miniconda3-latest-MacOSX-x86_64.sh 

Installing in silent mode

The following instructions are for Miniconda. For Anaconda, substitute Anaconda for Miniconda in all of the commands.

To run the silent installation of Miniconda for macOS or Linux, specify the -b and -p arguments of the bash installer. The following arguments are supported:

  • -b : Batch mode with no PATH modifications to shell scripts. Assumes that you agree to the license agreement. Does not edit shell scripts such as .bashrc , .bash_profile , .zshrc , etc.
  • -p : Installation prefix/path.
  • -f : Force installation even if prefix -p already exists.
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-x86_64.sh -O ~/miniconda.sh bash ~/miniconda.sh -b -p $HOME/miniconda

The installer prompts “Do you wish the installer to initialize Miniconda3 by running conda init ?” We recommend “yes”.

If you enter “no”, then conda will not modify your shell scripts at all. In order to initialize after the installation process is done, first run source /bin/activate and then run conda init .

macOS Catalina (and later)

If you are on macOS Catalina (or later versions), the default shell is zsh. You will instead need to run source /bin/activate followed by conda init zsh (to explicitly select the type of shell to initialize).

Updating Anaconda or Miniconda

  1. Open a terminal window.
  2. Navigate to the anaconda directory.
  3. Run conda update conda .

Uninstalling Anaconda or Miniconda

rm -rf ~/.condarc ~/.conda ~/.continuum 

© Copyright 2017, Anaconda, Inc. Revision 08c7ed66 .

Источник

Installing on macOS#

Using Anaconda in a commercial setting? You may need to purchase a license to stay compliant with our Terms of Service. This can be accomplished through several of Anaconda’s tiers: Pro , Business (On-prem), Business (Cloud) , or Enterprise. If you have already subscribed to the Pro or Business tiers, see the quickstart guides for Pro or Business to get started!

Visit https://anaconda.cloud/pricing to compare tier capabilities and pricing.

Install Anaconda Distribution using either the install wizard or the command line instructions below. If you are unsure, choose the graphical install.

Wizard install#

More of a visual learner? Watch the Installing Anaconda (Mac) video in the course linked below!

../../../../_images/learning-ad.png

  1. Download the graphical macOS installer for your version of Python.
  2. Double-click the downloaded file and click Continue to start the installation.
  3. Answer the prompts on the Introduction, Read Me, and License screens.
  4. Anaconda recommends that you choose Install for me only. If you do not want to install Anaconda Distribution into your home folder, select Install on a specific disk….

Caution The installer may skip the Destination Select page during installation, which will cause the installation to fail. If the installer skips this page, click Change Install Location… on the Installation Type page to get to this step.

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

Click Install.

Note If you get the error message “This package is incompatible with this version of macOS,” please see here for troubleshooting help.

  • Once the install is complete, click Continue.
  • Optional: To learn more about Anaconda’s cloud notebook service, go to https://www.anaconda.com/code-in-the-cloud. Or click Continue to proceed.
  • A successful installation displays the following screen:
  • Verify your installation .
  • 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. (Recommended) Verify the installer’s data integrity with SHA-256 . For more information on hash verification, see cryptographic hash validation.
    3. Open a terminal and run the following:
    shasum -a 256 /PATH/FILENAME # Replace /PATH/FILENAME with your installation's path and filename. 
    # Include the bash command regardless of whether or not you are using the Bash shell bash ~/Downloads/Anaconda3-2020.05-MacOSX-x86_64.sh # Replace ~/Downloads with your actual path # Replace the .sh file name with the name of the file you downloaded 
    # Include the bash command regardless of whether or not you are using the Bash shell bash ~/Downloads/Anaconda2-2019.10-MacOSX-x86_64.sh # Replace ~/Downloads with your actual path # Replace the .sh file name with the name of the file you downloaded 

    Note Anaconda recommends you accept the default install location. Do not choose the path as /usr for the Anaconda/Miniconda installation.

    # Replace with the path to your conda install source /bin/activate conda init

    Note If you are on macOS 10.15+, the new default shell is zsh. Once the installation process has completed, initialize conda in a zsh shell by running source /bin/activate followed by conda init zsh .

    # The base environment is activated by default conda config --set auto_activate_base True # The base environment is not activated by default conda config --set auto_activate_base False # The above commands only work if conda init has been run first # conda init is available in conda versions 4.6.12 and later 

    Note If you install multiple versions of Anaconda, the system defaults to the most current version, as long as you haven’t altered the default install path.

    Источник

    Оцените статью