File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change 11#! /bin/bash -l
22# Very important to start with 'bash -l' - to escape SageMaker Studio notebook environment
33
4+ if [ ! -f /opt/.sagemakerinternal/conda/bin/python ]; then
5+ echo " sm-ssh-ide: ERROR: Must be running inside SageMaker Studio"
6+ exit 2
7+ fi
8+
49dir=$( dirname " $0 " )
510source " $dir " /sm-helper-functions
611
@@ -196,7 +201,7 @@ elif [[ "$1" == "env-diagnostics" ]]; then
196201 echo " Conda location: $( which conda || echo ' Not found' ) "
197202 echo " Conda environments: $( conda env list || echo ' Not found' ) "
198203
199- echo " SageMaker Studio Python location: $( $0 get-studio-python-location || echo ' Not found' ) "
204+ echo " SageMaker Studio Python location: $( $0 get-studio-python-path || echo ' Not found' ) "
200205 echo " SageMaker Studio Python version: $( $0 get-studio-python-version || echo ' Not found' ) "
201206
202207elif [[ " $1 " == " stop" ]]; then
You can’t perform that action at this time.
0 commit comments