We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de3f4c5 commit 9665272Copy full SHA for 9665272
sagemaker_ssh_helper/sm-ssh-ide
@@ -246,6 +246,13 @@ elif [[ "$1" == "get-studio-python-version" ]]; then
246
$SM_STUDIO_PYTHON --version
247
248
elif [[ "$1" == "env-diagnostics" ]]; then
249
+ if _is_centos; then
250
+ echo "Operating system: CentOS/RHEL-based system detected"
251
+ else
252
+ echo "Operating system: Debian/Ubuntu-based system detected"
253
+ fi
254
+
255
+ head -2 /etc/os-release || :
256
257
echo "System Python location: $(which python || echo 'Not found')"
258
echo "System Python version: $(python --version || echo 'Not found')"
0 commit comments