Last active
July 9, 2019 10:38
-
-
Save filipwodnicki/dce67b07ddf2889a60a39a3cd1723392 to your computer and use it in GitHub Desktop.
Conda cheatsheet
This file contains 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
# Conda cheatsheet | |
# Conda create new environment | |
conda create -n myenvname python=3.7 | |
# Add conda environment to jupyter | |
python -m ipykernel install --user --name myenvname --display-name "Python (myenvname)" | |
# Conda create new environment and install datascience packages | |
conda create -n myenvname python=3.7 jupyter ipykernel nb_conda pandas geopandas shapely numpy scipy | |
# clone conda environment | |
conda create --name myenvname --clone myenvname_clone | |
# Conda post-save hook | |
# https://www.svds.com/jupyter-notebook-best-practices-for-data-science/ | |
# Conda clone/copy environment | |
conda create --name myclone --clone myenv | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment