Anaconda:由于权限错误,更新conda失败 [英] Anaconda : Update conda failed because permission error

查看:581
本文介绍了Anaconda:由于权限错误,更新conda失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在Windows 7(64位)上使用Anaconda 5.1版.

I'm using Anaconda version 5.1 on Windows 7 (64bit).

我试图将conda从4.4.10-py36_0更新到4.4.11-py36_0,但无法并收到错误消息

I have tried to update conda from 4.4.10-py36_0 to 4.4.11-py36_0 but cannot and got error message

(基本)C:\ Windows \ system32> conda更新-n基本conda解决 环境:完成

(base) C:\Windows\system32>conda update -n base conda Solving environment: done

环境位置:C:\ ProgramData \ Anaconda3

environment location: C:\ProgramData\Anaconda3

添加/更新了规格: -康达

added / updated specs: - conda

将下载以下软件包:

package                    |            build
---------------------------|-----------------
conda-4.4.11               |           py36_0         955 KB

以下软件包将被更新:

conda: 4.4.10-py36_0 --> 4.4.11-py36_0

是否继续([y]/n)? y

Proceed ([y]/n)? y

下载和提取软件包conda 4.4.11:

Downloading and Extracting Packages conda 4.4.11:

事务:错误ERROR conda.core.link:_execute(481):错误 卸载packag e'defaults :: conda-4.4.10-py36_0'时发生. PermissionError(13,'该进程无法访问文件,因为它是 被另一个进程使用")试图回滚.

transaction: failed ERROR conda.core.link:_execute(481): An error occurred while uninstalling packag e 'defaults::conda-4.4.10-py36_0'. PermissionError(13, 'The process cannot access the file because it is being used by another process') Attempting to roll back.

回滚交易:完成

PermissionError(13,'该进程无法访问文件,因为它是 被另一个进程使用')

PermissionError(13, 'The process cannot access the file because it is being used by another process')

我卸载并重新安装了它,但是遇到了同样的问题.

I uninstalled and re-installed it but got the same issue.

推荐答案

使用高级用户菜单中的命令提示符(管理员)"选项运行命令提示符,同时按下两个Windows键-X.

Run the command prompt using the "Command Prompt (Admin)" option from the power users menu, push both Windows key - X at same time.

这篇关于Anaconda:由于权限错误,更新conda失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆