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 environment.
  environment location: E:\anaconda
解决方法一:找到此文件夹,右击属性-安全-修改成完全控制

解决方法二:上述方法没用,用管理员身份打开anaconda prompt,在相应环境下下载包即可