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 /.bashrc.Assumes that you agree to the license agreement.
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.)
Note that in order to avoid potential conflicts with other packages it is strongly recommended to use a virtual environment, e.g. Python3 virtualenv (see python3 virtualenv documentation) or conda environments. Using an isolated environment makes possible to install a specific version of scikit-learn and its dependencies independently of any previously installed Python packages.
(For the comparison among Anaconda, Miniconda, and Virtualenv with pip, check this post.)
237534 total downloads Last upload: 5 days and 21 hours ago Installers. Info: This package contains files in non-standard labels. Conda install noarch v4.12.0; To install this package with conda run one of the following: conda install -c plotly plotly conda install -c plotly/label/test plotly. 78636 total downloads Last upload: 2 months and 23 days ago Installers. Info: This package contains files in non-standard labels. Conda install linux-64 v0.2.1; win-32 v0.2.1; noarch v0.7.1; osx-64 v0.2.1; win-64 v0.2.1; To install this package with conda run one of the following: conda install -c conda.
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.
Conda Mac Download
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.
Conda Mac Download 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.
Then Type control + X to exit out of nano
Save changes by typing Y.
Mac Conda Path
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.
Mac Conda Opencv
For the comparison among Anaconda, Miniconda, and Virtualenv with pip, check this post.