EnvironmentNotWritableError: The current user does not have write permissions to the target environm

一. EnvironmentNotWritableError: The current user does not have write permissions to the target environm
背景:
Anaconda虚拟环境中运行conda install matplotlib, 系统提示当前conda版本不够,需运行conda update -n base -c defaults conda

出现报错:
EnvironmentNotWritableError: The current user does not have write permissions to the target environment. environment location: D:\Anaconda
1


错误原因:
后面列的那个文件姐缺写入权限

解决方法:
找到后面列的那个文件夹(我的是D:\Anaconda)——右键——属性——安全——编辑——完全控制(或者只把写入勾上也行,我是懒人,想一劳永逸)——等一会儿开把游戏——解决

又出其他问题:应用或确定 时 报错
实在没时间那么多文件一个一个点,暂时无解,选择重装

重装见链接:安装下载Anaconda注意事项以及卸载
第一次重装时,安装的文件夹和之前装的文件夹不一样,打开 Anaconda Prompt 直接飘红

遂找对应环境变量,未找到

只能再次重装到第一次安装的文件夹
————————————————
转:https://blog.csdn.net/weixin_54626591/article/details/133250432

posted @ 2023-11-23 12:16  rmticocean  阅读(1634)  评论(0)    收藏  举报