This post introduces how to install Miniconda on Mac.
(For installing Miniconda on Linux OS, check out this post.)
Conda env create -f hello-tf.yml. Note: For Windows users, the new environment is created inside the current user directory. It will take around 1.1gb of space in your hard disk. Step 6) Activate conda environment. We are almost done. You have now 2 conda environments. 201154 total downloads Last upload: 1 month and 13 days ago Installers. Conda install linux-ppc64le v0.9.0; linux-64 v0.9.0; win-32 v0.9.0; noarch v0.11.0; osx-64 v0.9.0; linux-32 v0.9.0; win-64 v0.9.0; To install this package with conda run: conda install -c anaconda seaborn.
(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.
Conda Mac Os
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.
(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.
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.
(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.
The fastest way to obtain conda is to installMiniconda, a mini version ofAnaconda that includes only conda andits dependencies. If you prefer to have conda plus over 7,500 open-sourcepackages, install Anaconda.
Conda Mac Download
We recommend you install Anaconda for the local user, which doesnot require administrator permissions and is the most robusttype of installation. You can also install Anaconda system wide,which does require administrator permissions.
For information on using our graphical installers forWindows or macOS, see the instructions forinstalling Anaconda.
- 32- or 64-bit computer.
- For Miniconda---400 MB disk space.
- For Anaconda---Minimum 3 GB disk space to download and install.
- Windows, macOS, or Linux.
Note
You do not need administrative or root permissions toinstall Anaconda if you select a user-writable installlocation.
Follow the instructions for your operating system:
- Windows.
- macOS.
- Linux.
You can use silent installation ofMiniconda or Anaconda for deployment or testing or buildingservices such as Travis CI and AppVeyor.
Follow the silent-mode instructions for your operating system:
- Windows.
- macOS.
- Linux.
You do not need to uninstall other Python installations orpackages in order to use conda. Even if you already have asystem Python, another Python installation from a source such asthe macOS Homebrew package manager and globally installedpackages from pip such as pandas and NumPy, you do not need touninstall, remove, or change any of them before using conda.
Install Anaconda or Miniconda normally, and let the installeradd the conda installation of Python to your PATH environmentvariable. There is no need to set the PYTHONPATH environmentvariable.
To see if the conda installation of Python is in your PATHvariable:
- On Windows, open an Anaconda Prompt and run---
echo%PATH%
. - On macOS and Linux, open the terminal and run---
echo$PATH
.
Mac Install Conda
To see which Python installation is currently set as the default:
Conda Download Linux
- On Windows, open an Anaconda Prompt and run---
wherepython
. - On macOS and Linux, open the terminal and run---
whichpython
.
Conda Install
To see which packages are installed in your current condaenvironment and their version numbers, in your terminal windowor an Anaconda Prompt, run
condalist
.