Custom packages in Sagemaker studio

0

Hi everyone,

how can i install custom OS libraries on Sagemaker studio? When I open a terminal it states:

root@0f04278e59cf:~/# yum install unzip

bash: yum: command not found

Thanks!

AWS
質問済み 4年前1547ビュー
1回答
0
承認された回答

Short answer: [Studio UI] > File > New > Terminal > sudo yum install unzip
Then unzip away...

Long answer:
You can open a terminal in two different types of compute environment:

  1. On a specific kernel you're running: [Studio UI] > kernal tab > Terminial icon.
  2. On the compute studio (jupyter) itself: [Studio UI] > File > New > Terminal

In both options your personal files folder is accessible. In a kernel terminal: /root. In a Jupyter terminal: /home/sagemaker-user.
When opening a kernel terminal you'll have access to the software that is part of the kernel's container (say tensorflow container). Which in your case is missing yum. You can of course try apt-get, and such to install more tools.

AWS
回答済み 4年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ