Skip to content

Instantly share code, notes, and snippets.

@twolodzko
Created January 21, 2020 09:35
Show Gist options
  • Select an option

  • Save twolodzko/e8ad0c81fedcba34ac84e6b2aa3286c1 to your computer and use it in GitHub Desktop.

Select an option

Save twolodzko/e8ad0c81fedcba34ac84e6b2aa3286c1 to your computer and use it in GitHub Desktop.
conda_and_jupyter.md

Conda

# new env:
conda create --name myenv python=3.7 ipykernel numpy pandas

# remove:
conda remove --name myenv --all

# export:
conda env export --from-history

# create from export:
conda env create -f environment.yml

Jupyter

# create new kernel:
python -m ipykernel install --user --name mykernel --display-name "My Kernel"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment