0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

SageMaker Studio Labの環境をリセットする

Posted at

結論

1 condaの環境を確認する

$ conda env list
default               *   /home/studio-lab-user/.conda/envs/default
studiolabe               /opt/amazon/sagemaker/safemode-home/.conda/envs/studiolab
studiolab-safemode      /opt/amazon/sagemaker/safemode-home/.conda/envs/studiolab-safemode
base                    /opt/conda
sagemaker-distribution     /opt/conda/envs/sagemaker-distribution

2 アクティブな環境をbaseに移動する

$ conda activate base

3 base以外の環境を削除する

$ conda remove -n default --all
$ conda remove -n sagemaker-distribution  --all
$ conda remove -n studiolab-safemode --all
$ conda remove -n studiolab --all

4 一度ログアウトしてProjectを停止、再起動するとデフォルトの環境が作り直されている。完了。

参考

こちらに情報がありました。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?