Currently the ttp package will attempt to pickle a file and store it within the module directory.
This is not ideal when the the installation and execution can be two separate user context.
This should instead use either XDG paths or a package like appdirs to configure a cache path instead.
failed to save cache at '/usr/local/lib/python3.9/site-packages/ttp/ttp_dict_cache.pickle', error '[Errno 13] Permission denied: '/usr/local/lib/python3.9/site-packages/ttp/ttp_dict_cache.pickle''
https://ttp.readthedocs.io/en/latest/TTP%20Internals/index.html
Currently the
ttppackage will attempt to pickle a file and store it within the module directory.This is not ideal when the the installation and execution can be two separate user context.
This should instead use either XDG paths or a package like
appdirsto configure a cache path instead.https://ttp.readthedocs.io/en/latest/TTP%20Internals/index.html