NotWritableError: The current user does not have write permissions to a required path.

Collecting package metadata (current_repodata.json): failed

NotWritableError: The current user does not have write permissions to a required path.
  path: /home/peco/.conda/pkgs/urls.txt
  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/peco/.conda/pkgs/urls.txt

In general, it's not advisable to use 'sudo conda'.

solution:

 sudo chown -R peco anaconda3 # peco is user name.

猜你喜欢

转载自blog.csdn.net/PecoHe/article/details/104578700