日々精進

新しく学んだことを書き留めていきます

conda activateを実行すると「CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.」エラー

AWSのDeep Learning AMIでEC2を起動してconda activateを実行すると発生した。

以下を.bashrcに書けば直った。

. ${HOME}/miniconda3/etc/profile.d/conda.sh
conda activate base

参考:

qiita.com