Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 14185

Unable to change Astropy cache location

$
0
0

I'm running the latest version of Astropy in Python using a Mac. I'd like to change the directory where Astropy caches files.

I'm running:

astropy.config.set_temp_cache(path='/Users/josephprendergast/Documents/Temp/', delete=False)

I'm not getting an error but the directory is not being changed. Furthermore when I run:

astropy.config.get_cache_dir()

I get the default path and not my new path.

I tried the above and expected the cache directory to change


Viewing all articles
Browse latest Browse all 14185

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>