CondaError: Run 'conda init' before 'conda activate'

0

Dear all

In my Sagemaker Studio JupyterLab I ran the following:

line 1: conda init

line 2: conda create --name test-env -y

line 3: conda activate test-env

But I encountered the error after running lin3 3: CondaError: Run 'conda init' before 'conda activate'. But I did run it in line 1. What could go wrong?

Thanks

已提問 3 個月前檢視次數 81 次
沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南