conda创建环境时报错:NotWritableError: The current user does not have write permissions to a required path.

Posted H3rmesk1t

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了conda创建环境时报错:NotWritableError: The current user does not have write permissions to a required path.相关的知识,希望对你有一定的参考价值。

背景:
在Ubuntu系统上装Anaconda3时,安装完成后无法使用conda命令

原因:
考虑安装时是否使用的root权限进行安装

解决:
此处针对安装时使用root权限进行安装的步骤;
找到anaconda文件夹所在的位置,输入:sudo chown -R xxx anaconda3 #xxx为自己的用户名
待命令执行完成后即可使用conda命令

以上是关于conda创建环境时报错:NotWritableError: The current user does not have write permissions to a required path.的主要内容,如果未能解决你的问题,请参考以下文章

Pycharm加载conda创建pytorch虚拟环境 & import torch报错问题解决

python使用requests时报错requests.exceptions.SSLError: HTTPSConnectionPool

python 创建虚拟环境时报错OSError, setuptools下载失败

【Anaconda】conda创建虚拟环境不报错,但是虚拟环境无法生成的解决办法

conda create环境报错解决办法

安装RabbitMQ,创建消息队列用户时报错怎么办???