Pip & Conda: Quick guide

less than 1 minute read

Published:

Pip

Upgrade package

pip install <package> --upgrade

Upgrade package to specific version

pip install <package>==<version>

Conda

Check environments

conda info --envs

OR

conda env list

New environment

conda create --name <new env> python=3.7

Clone environment

conda create --name <new env> --clone <existing env>

Check packages in environment

conda list

Check specific package in environment

conda list <package>