Skip to content

Instantly share code, notes, and snippets.

@lppier
Created March 21, 2022 02:35
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/a00fa5b79d85f610205710b86aa12bbc to your computer and use it in GitHub Desktop.
Save lppier/a00fa5b79d85f610205710b86aa12bbc to your computer and use it in GitHub Desktop.
Add custom python kernel to 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 -r <your_project_folder>/requirements.txt
pip install ipykernel
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