Created
October 17, 2019 13:07
-
-
Save swedishmike/902fb27d627313c31a95e31c44e302ac to your computer and use it in GitHub Desktop.
Revisions
-
swedishmike created this gist
Oct 17, 2019 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ ## Create the virtual environment conda create -n 'environment_name' ## Activate the virtual environment conda activate 'environment_name' ## Make sure that ipykernel is installed pip install --user ipykernel ## Add the new virtual environment to Jupyter python -m ipykernel install --user --name='environment_name' ## To list existing Jupyter virtual environments jupyter kernelspec list ## To list existing conda environments conda env list ## To remove conda environment conda env remove -n 'environment_name' ## To remove the environment from Jupyter jupyter kernelspec uninstall 'environment_name'