Created
March 21, 2022 02:35
-
-
Save lppier/a00fa5b79d85f610205710b86aa12bbc to your computer and use it in GitHub Desktop.
Add custom python kernel to sagemaker
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
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