conda-env and conda, respectively.pipvirtualenv, pip, and condavirtualenv is an environment manager for Pythonpip is a package manager for Pythonconda does both!virtualenv, pip, and condasudo pip installconda package manager, and the conda-env environment managerGet Miniconda here
Windows: Just run the .exe. If unsure about any settings, the defaults are fine.
cd ~/Downloads should do by default). Run the file by running bash [filename], e.g. bash Miniconda3-latest-MacOSX-x86_64.sh. Follow the instructions that appear in order to install.| Command | Operation |
|---|---|
conda create -n <env_name> |
create a new conda environment |
source activate <env_name> (OSX/Linux) activate <env_name> (Windows) |
activate a conda environent |
source deactivate (OSX/Linux) deactivate (Windows) |
deactivate the current environment |
conda env remove -n <env_name> |
remove conda environment called <env_name> environment |
conda create -n mwl
source activate mwl
conda list
| Command | Function |
|---|---|
conda env list |
List all conda environment |
conda list |
List all conda packages |
conda install package_name |
Install a package called package_name |
conda remove package_name |
Remove a package called package_name |
conda update package_name |
Update a package called package_name to the latest version |
conda update conda |
Use conda to update conda / Anaconda |
conda install numpy scipy cython scikit-learn
conda install matplotlib