In our Jupyterhub we are using Py3.6 version. This py36 version is a venv. Recently we are facing this issue.
Whenever we install any new package using pip install command it installs and the chmod is for the new folders in the location “/usr/share/miniconda2/envs/py36/lib/python3.6/site-packages/” is 750. Immediately after that we can not import sklearn and getting the follow error message.
[Errno 13] Permission denied: ‘/usr/share/miniconda2/envs/py36/lib/python3.6/site-packages/PyAudio-0.2.11.dist-info’
We installed pyaudio just now.
The issue is resolved when I ran chmod and set 755 permission.
chmod 755 -R /usr/share/miniconda2/envs/py36/lib/python3.6/site-packages/PyAudio-0.2.11.dist-info
Not sure 755 is the right access. Please confirm how to resolve this.