Pip Permission denied

I getting a permissions error then the pip packages get installed.

--> RUN pip install --no-cache-dir -r requirements.txt
Looking in indexes: https://pypi.org/simple, https://download.pytorch.org/whl/cu117
Obtaining blip from git+https://github.com/pharmapsychotic/BLIP.git@lib#egg=blip (from -r requirements.txt (line 13))
ERROR: Could not install packages due to an OSError: [Errno 13] Permission denied: '/home/user/app/src'
Consider using the `--user` option or check the permissions.


--> ERROR: process "/bin/sh -c pip install --no-cache-dir -r requirements.txt" did not complete successfully: exit code: 1

I try just to copy this space: CLIP Interrogator - a Hugging Face Space by pharma

1 Like

hi @dakiba, thanks for reporting the error. This issue was fixed on our infra backend, you can try duplicate the Space again, you might need a T4 hardware to run it.