Skip to content

Instantly share code, notes, and snippets.

@andmax
Last active January 6, 2021 15:30
Show Gist options
  • Save andmax/92dd4da61c260bcf3d4cec0319ef96c4 to your computer and use it in GitHub Desktop.
Save andmax/92dd4da61c260bcf3d4cec0319ef96c4 to your computer and use it in GitHub Desktop.
How to allow different conda environment inside jupyter notebook
1. For example:
conda create --name tf
conda activate tf
conda install -c conda-forge tensorflow
2. It is good to have the conda tab in jupyter notebook:
conda install nb_conda
3. It is also good to update conda env. kernels automatically:
conda install nb_conda_kernels
4. You should have ipython kernel in the environment:
conda install ipykernel
5. Then install it in conda environment to appear in kernel list:
python -m ipykernel install --user --name tf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment