Anaconda 安装seaborn报错:The current user does not have write permissions to the target environment

时间:2024-03-18 18:27:53

Anaconda 安装seaborn报错:The current user does not have write permissions to the target environment

情景:Anaconda 安装seaborn
终端输入:conda install seaborn
报错:The current user does not have write permissions to the target environment

一、尝试的方法
1、定位到anaconda3同级文件夹下打开终端执行如下代码
sudo chmod 777 -R anaconda3
结果:未解决 (sudo是linux系统的命令)
2、找到anaconda3所在文件夹-右键属性-安全-编辑-允许-确定
Anaconda 安装seaborn报错:The current user does not have write permissions to the target environmentAnaconda 安装seaborn报错:The current user does not have write permissions to the target environment结果:未解决

二、成功解决方法

Anaconda-右键-更多-以管理员身份运行-输入:conda install seaborn-出现Proceed([y]/n)?时候输入y
Anaconda 安装seaborn报错:The current user does not have write permissions to the target environmentAnaconda 安装seaborn报错:The current user does not have write permissions to the target environment成功!