Created
April 2, 2021 09:46
-
-
Save montali/15aae3bb3928d1fbe775552f8b37734f to your computer and use it in GitHub Desktop.
Creates a new conda environment and adds it to Jupyter
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
#!/usr/bin/env bash | |
source /opt/anaconda3/etc/profile.d/conda.sh | |
conda activate my_env | |
conda create --name $1 python=3.9 | |
conda activate $1 | |
conda install -c anaconda ipykernel | |
python -m ipykernel install --user --name=$1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment