Skip to content

Instantly share code, notes, and snippets.

@lppier
Created March 17, 2022 06:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lppier/1548d7b93cc8d32955ea4db078af91b6 to your computer and use it in GitHub Desktop.
Save lppier/1548d7b93cc8d32955ea4db078af91b6 to your computer and use it in GitHub Desktop.
Use Custom Python Version in Sagemaker
conda create -n my_custom_python_39 python=3.9 -y
cd ~/SageMaker
source activate my_custom_python_39
pip install virtualenv
virtualenv my_custom_python_39_venv
conda deactivate
source my_custom_python_39_venv/bin/activate
pip install ipykernel -y
python -m ipykernel install --user --name=my_custom_python_39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment