背景:
ubuntu18.04
conda新建环境出错
报错信息:
NotWritableError: The current user does not have write permissions to a required path.
path: /home/changquan/.conda/envs/.conda_envs_dir_test
uid: 1000
gid: 1000
If you feel that permissions on this path are set incorrectly, you can manually
change them by executing
$ sudo chown 1000:1000 /home/changquan/.conda/envs/.conda_envs_dir_test
In general, it's not advisable to use 'sudo conda'.
报错原因:
文件夹权限问题
解决方案:
改变文件夹权限
sudo chown -R nku08 /home/nku08/.conda