The following permission error occurs when I try importing joblib from script or python -c 'import joblib'
:
/usr/local/lib/python2.7/dist-packages/joblib//joblib_multiprocessing_helpers.py:29: UserWarning: [Errno 13] Permission denied. joblib will operate in serial mode
warnings.warn('%s. joblib will operate in serial mode' % (e,))
- joblib is installed and forcefully reinstalled via pip
- importing works as superuser
- I set full permissions on the joblib folder
chmod -R 777 /usr/local/lib/python2.7/dist-packages/joblib
; to no avail: the permission error remains
So even though every user and group has full rwx permissions on the joblib directory it gives me a permission error. How do I figure out on which directory joblib does the write permission check when importing? Why does it even do the check before I specified a write operation?