# Cache Path Issue

**URL:** <https://fenicsproject.discourse.group/t/cache-path-issue/958>\
**Category:** installation\
**Created:** [June 7, 2019, 5:45pm UTC](https://fenicsproject.discourse.group/t/cache-path-issue/958 "2019-06-07T17:45:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![gideonsimpson](https://yyz2.discourse-cdn.com/free1/user_avatar/fenicsproject.discourse.group/gideonsimpson/32/561_2.png) [@gideonsimpson](https://fenicsproject.discourse.group/u/gideonsimpson)\
**Post date:** [June 7, 2019, 5:45pm UTC](https://fenicsproject.discourse.group/t/cache-path-issue/958/1 "2019-06-07T17:45:20Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![kamensky](https://avatars.discourse-cdn.com/v4/letter/k/e95f7d/32.png) [@kamensky](https://fenicsproject.discourse.group/u/kamensky)\
**Post date:** [June 7, 2019, 7:32pm UTC](https://fenicsproject.discourse.group/t/cache-path-issue/958/2 "2019-06-07T19:32:12Z")

</div>

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