【Verifying transaction: failed】

错误场景:

错误场景:anaconda prompt中输入命令conda update conda出现如下错误

Preparing transaction: done
Verifying transaction: failed

EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
  environment location: D:\anaconda install

原因分析:

用户没有对anaconda3文件夹的读写权限,造成其原因可能是由于在安装anaconda时使用了管理员权限

解决方案:

根据提示的环境安装路径 找到文件夹、点击右键后下滑找到属性

例如:新建一个  对象,并将读取到的数据存入 ,然后 换成 。

在这里插入图片描述

在这里插入图片描述

进入 安全

在这里插入图片描述

组或用户名 选择users ,修改权限->完全控制。确认后退出

在这里插入图片描述

重新进入anaconda prompt 输入命令conda update conda,即可以正常运行

在这里插入图片描述

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://net2asp.com/13e18d3b79.html