Skip to content

Commit b68f3ae

Browse files
#21 - avoid updating pip that can cause issues
1 parent b0a031f commit b68f3ae

File tree

4 files changed

+13
-7
lines changed

4 files changed

+13
-7
lines changed

.idea/aws.xml

Lines changed: 10 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

SageMaker_SSH_IDE.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,7 @@
5353
"outputs": [],
5454
"source": [
5555
"%%sh\n",
56-
"pip install -U pip\n",
57-
"pip uninstall --root-user-action ignore -y awscli\n",
56+
"pip uninstall --root-user-action ignore -y -q awscli\n",
5857
"pip install --root-user-action ignore -q -U sagemaker-ssh-helper\n",
5958
"pip freeze | grep sagemaker-ssh-helper"
6059
]

SageMaker_SSH_Notebook.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@
2121
"outputs": [],
2222
"source": [
2323
"%%sh\n",
24-
"pip install -U pip\n",
25-
"pip uninstall --root-user-action ignore -y awscli\n",
24+
"pip uninstall --root-user-action ignore -y -q awscli\n",
2625
"pip install --root-user-action ignore -q -U sagemaker-ssh-helper\n",
2726
"pip freeze | grep sagemaker-ssh-helper"
2827
]

kernel-lc-config.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ LOCAL_USER_ID="AIDACKCEVSQ6C2EXAMPLE"
2020
hostname
2121
cat /opt/ml/metadata/resource-metadata.json
2222

23-
pip install -U pip
24-
pip uninstall --root-user-action ignore -y awscli
23+
pip uninstall --root-user-action ignore -y -q awscli
2524
pip install --root-user-action ignore -q sagemaker-ssh-helper
2625

2726
# Uncomment two lines below to update SageMaker SSH Helper to the latest dev version from main branch

0 commit comments

Comments
 (0)