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

一、问题描述

其实是很简单的一个问题。。在某台服务器上用conda下载个包,报错没有写权限:

EnvironmentNotWritableError: The current user does not have write permissions to the target environment.
  environment location: /usr/local/miniconda3
  uid: 1001
  gid: 1000

二、解决方案

如果在conda前加上sudo也没用。直接对报错提示的文件增加权限就好啦:

sudo chmod 777 -R ./miniconda3

猜你喜欢

转载自blog.csdn.net/qq_35812205/article/details/128502397