Installing the conda Package Management Tool The conda package management tool is part of the Anaconda software package. Install conda by navigating to the. Scroll down to the “Anaconda for OS X” portion of the web page. Download the Python 3.5 version by clicking on the “Mac OS X 64 bit Graphical Installer” link. The Mac OS X Anaconda installation comes only in one form: 64-bit. Before you can perform the install, you must download a copy of the Mac software from the Continuum Analytics site. Download the free Continuum Anaconda. Getting and setting up Anaconda. Gurobi supports Python 2.7 and 3.6 for Mac. Choose the version of Anaconda you. Conda is an open source package management system and environment management system that runs on Windows, macOS and Linux. Conda quickly installs, runs and updates packages and their dependencies. Conda easily creates, saves, loads and switches between environments on your local computer. Anaconda Individual Edition is the world’s most popular Python distribution platform with over 20 million users worldwide. You can trust in our long-term commitment to supporting the Anaconda open-source ecosystem, the platform of choice for Python data science.
This post introduces how to install Miniconda on Mac.
(For installing Miniconda on Linux OS, check out this post.)
(For commonly used conda commands check this post.)
(For the comparison among Anaconda, Miniconda, and Virtualenv with pip, check this post.)
Step 1: download Miniconda (bash installer) from
see the highlighted in the pic below.
A file called Miniconda3-latest-MacOSX-x86_64.sh will be shown in your Downloads folder.
Step 2: Open a Terminalwindow.
(If you don’t know how to open a terminal window, through lauchpad type in Terminal, you will see the application.)
In the terminal window, type in
Step 3: run the bash “shell” script to install Miniconda
In the terminal window, type in the following.
Scroll through the license (press the Space bar or Enter to move through quickly), type ‘yes’ to approve the terms, and then accept all the installation defaults.
Step 4: Close the Terminal window, and open a new Terminal window.
in the newly opened Terminal window.
Type the following:
If you see something like the following, it means you have successfully installed conda via miniconda on your Mac.
conda 4.5.11
Step 5: Uninstalling Miniconda
To uninstall Python Anconda/Miniconda, we just simply remove the installation folder and remove the environment variables set in the hidden file .bash_profile in your home directory. For my installation, it will be just like this.
Then, you can edit the .bash_profile file and remove the following entries added for Anaconda/Miniconda directory from your PATH environment variable.
If you do not know where the hidden .bash_profile is located and how to edit it, see below for detailed instructions.
(1) Open a new terminal and go to your home directory. You can do this by using the command below.
(2) use the following command to list all files, including hidden files in your home directory.
(3) Use the
cat
command to see the contents of the hidden file .bash_profile. Type the following command into your terminal.You will see something like the following (depends on what you installed, if you installed Miniconda3, you will only see the first two lines. If you installed Anaconda3, you will see the bottom two lines.
Uninstall Conda Mac
(4) To remove installed Miniconda/Anaconda from your .bash_profile use the command below to edit the file using the nano editor.
Remove the Miniconda /Anoconda path in your .bash_profile hidden file.
Mac Install Conda
Then Type control + X to exit out of nano
Save changes by typing Y.
Close the terminal, and now Miniconda/Anaconda should be successfully uninstalled from your Mac.
Conda Macos Download
(Tested on macOS Mojave. Note that you can install Miniconda onto your Mac even when you are not an admin user.)
For commonly used conda commands check this post.
For the comparison among Anaconda, Miniconda, and Virtualenv with pip, check this post.