Conda cheat sheet

PHOTO EMBED

Tue Jan 21 2025 06:16:17 GMT+0000 (Coordinated Universal Time)

Saved by @A003670

## Setup a conda environment
 
``conda create --name ds python=3.11 numpy pandas scikit-learn matplotlib seaborn jupyter plotly ipykernel pyodbc``

## Activate the environment

``activate ds``

## Install a package

``conda install plotly``

## Update a package

``conda update pandas``

## Remove a package

``conda remove pandas``

## List all packages and versions installed in active environment

``conda list``

## Get a list of all my environments

``conda env list``

## Deactivate the current environment 

``deactivate``

## Remove an environment

``conda remove --name myenv --all``
content_copyCOPY

https://gist.github.com/ryanbehdad/7649672dacb4d809f21d1e74804867b3