Cache Path Issue

I have an anaconda3 installation on my OS X machine, and I installed fenics using

sudo conda install -c conda-forge fenics

This appears to have successfully installed fenics. However, when I go to run python scripts, I get errors like:

PermissionError: [Errno 13] Permission denied: '/anaconda3/.cache'

While this can be overcome by running as root, I would obviously prefer not to do that. Is there a simple way to get it to use a reasonable location for the cache files?

You might try manually setting the environment variable DIJITSO_CACHE_DIR to a new cache directory.

1 Like