conda env create -f environment.yaml Consider using the `--user` option or check the permissions.

create完後,update一下

conda env update -f environment.yaml

 

環境遷移導出:

conda env export > environment.yaml

在新環境中導入:

conda env create -f environment.yaml

我的一直報錯:

Could not install packages due to an EnvironmentError: [WinError 5] 拒絕訪問。

: 'd:\\miniconda3\\envs\\myenvs\\scripts\\flask.exe'

Consider using the `--user` option or check the permissions.

刪除重裝:

conda env remove -n sbd_attendance

依舊報錯。

試了好久,create就報錯,然後自己想是不是能update一下:

conda env update -f environment.yaml

結果成功了,暈 @_@ 。。。。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章