Giter VIP home page Giter VIP logo

Comments (4)

ivan-khvostishkov avatar ivan-khvostishkov commented on June 3, 2024 1

Hi, @DannyDannyDanny , thank you for your interest in SageMaker SSH Helper! I'm working on a fix. The installation script will use sudo to install tools in Linux.

from sagemaker-ssh-helper.

ivan-khvostishkov avatar ivan-khvostishkov commented on June 3, 2024 1

@DannyDannyDanny I've fixed it in the release v1.10.3. Please, let me know if it's better now.

from sagemaker-ssh-helper.

DannyDannyDanny avatar DannyDannyDanny commented on June 3, 2024

Cheers @ivan-khvostishkov! Thanks for the quick response!

Unfortunately, now the notebook SageMaker_SSH_IDE.ipynb throws an error on the following cell:

%%sh
sm-ssh-ide configure

The error is as follow:

removed '/usr/local/bin/sm-helper-functions'
'/opt/conda/bin/sm-helper-functions' -> '/usr/local/bin/sm-helper-functions'
removed '/usr/local/bin/sm-start-ssh'
'/opt/conda/bin/sm-start-ssh' -> '/usr/local/bin/sm-start-ssh'
removed '/usr/local/bin/sm-init-ssm'
'/opt/conda/bin/sm-init-ssm' -> '/usr/local/bin/sm-init-ssm'
removed '/usr/local/bin/sm-local-ssh-ide'
'/opt/conda/bin/sm-local-ssh-ide' -> '/usr/local/bin/sm-local-ssh-ide'
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Debian GNU/Linux 10 \n \l

sm-ssh-ide: Saving env variables for remote SSH interpreter
SHELL=/bin/bash
CONDA_EXE=/opt/conda/bin/conda
_CE_M=
AWS_CONTAINER_CREDENTIALS_RELATIVE_URI=/_sagemaker-instance-credentials/XXXXX
PYTHONNOUSERSITE=0
ICEAUTHORITY=/tmp/.ICEauthority
AWS_SAGEMAKER_PYTHONNOUSERSITE=0
AWS_DEFAULT_REGION=eu-west-1
SAGEMAKER_LOG_FILE=/var/log/studio/kernel_gateway.log
KERNEL_WORKING_PATH=
START_SSH=false
KERNEL_LAUNCH_TIMEOUT=40
AWS_REGION=eu-west-1
REGION_NAME=eu-west-1
XAUTHORITY=/tmp/.Xauthority
AWS_INTERNAL_IMAGE_OWNER=Studio
SAGEMAKER_JOB_CONDA_ENV=base
CLICOLOR=1
JPY_PARENT_PID=8
_CE_CONDA=
GIT_PAGER=cat
CONDA_MD5=XXXXX
CONDA_SHLVL=0
AWS_ACCOUNT_ID=XXXXX
PAGER=cat
CONDA_DIR=/opt/.sagemakerinternal/conda
KERNEL_GATEWAY=1
JUPYTER_PATH=/opt/conda/share/jupyter/
SAGEMAKER_INTERNAL_IMAGE_URI=XXXXX.dkr.ecr.eu-west-1.amazonaws.com/sagemaker-data-science-environment@sha256:XXXXX
MPLBACKEND=module://ipykernel.pylab.backend_inline
CONDA_PYTHON_EXE=/opt/conda/bin/python
CONDA_VERSION=py38_4.8.3
PATH=/opt/conda/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
DEBIAN_FRONTEND=noninteractive
light-locker set on hold.
sagemaker-ssh-helper: Installing AWS CLI v2
/usr/local/bin/aws

Unable to load extension: pydevd_plugins.extensions.types.pydevd_plugin_pandas_types
/opt/conda/bin/sm-helper-functions: line 51: sudo: command not found

🚑 hotfix

To anyone else following; first run sudo apt install -y sudo

from sagemaker-ssh-helper.

ivan-khvostishkov avatar ivan-khvostishkov commented on June 3, 2024

@DannyDannyDanny Thank you for testing! Fixed in the release v1.10.4.

from sagemaker-ssh-helper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.