Last active
June 30, 2023 07:07
-
-
Save Subangkar/d5cf8ca78a8d79c95d38dfaf8b3941c7 to your computer and use it in GitHub Desktop.
Anaconda, Python & Pip shell commands
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# anaconda | |
conda create -n myenv | |
conda create -n myenv python=3.9 | |
conda activate myenv | |
conda deactivate | |
conda env list | |
conda info --envs | |
conda remove -n myenv --all | |
# Update all packages | |
conda update --all | |
conda update -n base -c defaults conda | |
conda update conda | |
conda update anaconda | |
# clear conda cache | |
conda clean -a | |
# python pip | |
python -m venv venv | |
venv/Scripts/activate | |
pip cache purge | |
python -m pip install -U pip |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment