-
Notifications
You must be signed in to change notification settings - Fork 27
Open
Description
I installed PyReason with pip on my system as root and when I try to import the module I am getting the following error:
PermissionError: [Errno 13] Permission denied: '/usr/local/lib/python3.10/site-packages/pyreason/.cache_status.yaml'
I believe this is due to Numba cache path being set to the path based on the package path in:
Line 6 in 29ebb0b
| os.environ['NUMBA_CACHE_DIR'] = cache_path |
I think that users should be allowed to override NUMBA_CACHE_DIR, so perhaps in __init__.py the environment var could be set to the package path only if not set already.
Metadata
Metadata
Assignees
Labels
No labels