Could not determine temp directory, please specify a cache_dir manually