I have been using conda install for several python packages on a MacOS. Most of them installed without any issues, but one in particular fails to install
conda install conda-forge::pyslim
The specific error message that I get is:
NotWritableError: The current user does not have write permissions to a required path.
path: /Users/mshpak/opt/anaconda3/pkgs/cache/3eef14e5.json
uid: 501
gid: 20
I’m then informed of the following:
If you feel that permissions on this path are set incorrectly, you can manuallychange them by executing
$ sudo chown 501:20 /Users/mshpak/opt/anaconda3/pkgs/cache/3eef14e5.json
I attempted to implement this change of permissions, but when I do so and attempt the conda install again, I get precisely the same error. Is there something else that I can try? I find it puzzling that I get this error for some python packages/libraries but not for others.