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

结果成功了,晕 @_@ 。。。。

Guess you like

Origin blog.csdn.net/hebsun/article/details/95224082