Comments (4)
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.
@DannyDannyDanny I've fixed it in the release v1.10.3. Please, let me know if it's better now.
from sagemaker-ssh-helper.
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.
@DannyDannyDanny Thank you for testing! Fixed in the release v1.10.4.
from sagemaker-ssh-helper.
Related Issues (20)
- [Feature] Support HF accelerate and DeepSpeed for inference HOT 1
- Thoughts on using a configuration management framework? HOT 6
- sm-local-configure only works with bash like installations - no Powershell/CMD support / Windows support at all HOT 4
- Error occurred when starting amazon-ssm-agent: failed to get identity: failed to find agent identity HOT 1
- Are scripts supposed to work on SageMaker notebook instances? HOT 12
- How to install VSCode, other apps in WebVNC view? HOT 2
- JupyterServer URL suffix when tunnelling into KernelGateway app HOT 2
- Notebook `SageMaker_SSH_Notebook.ipynb` fails due to docker-compose HOT 5
- Enable advanced-instances tier to use Session Manager with your on-premises instances HOT 2
- Connecting to SageMaker BYOC Inference Endpoint? HOT 2
- SSH port forwarding to KernelGateway app container HOT 2
- [Question] Shell environment different from web terminal HOT 2
- [bug] - `SageMaker_SSH_IDE.ipynb` does not work HOT 1
- [Feature] Support shared spaces in SageMaker Studio Classic
- [Feature] Support the updated SageMaker Studio experience HOT 1
- [Question] How to connect to sagemaker notebooks HOT 4
- does ssh helper support sagemaker's remote debug's ssm connection? HOT 2
- vscode connect fails HOT 3
- VSCode disconnects after credentials refresh. HOT 6
- does ssh helper support byoc sagemaker endpoint? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sagemaker-ssh-helper.