Skip to content

Instantly share code, notes, and snippets.

@ZachAR3
Created August 23, 2023 17:12
Show Gist options
  • Save ZachAR3/30e5e3c882fc6f0d849e66399185dabc to your computer and use it in GitHub Desktop.
Save ZachAR3/30e5e3c882fc6f0d849e66399185dabc to your computer and use it in GitHub Desktop.
#!/bin/sh
echo Creating python 3.10 environment "env"
# A fix for https://github.com/conda/conda/issues/7980
eval "$(conda shell.bash hook)"
conda create --prefix env python=3.10.9 -y
conda activate ./env
conda install entrypoints=0.4 ipython=8.10.0 jupyter_client=7.4.9 jupyter_core=5.2.0 packaging=22.0 sqlite=3.40.1 tzdata=2022g --force-reinstall -y
conda install ipykernel -y
python -m ipykernel install --user
pip install jupyter_http_over_ws
echo Environment created. Run "conda activate ./env inside this folder to enable it."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment