2

I have added a new package to the requirements.txt. When I push it with git to the openshift repository it fails to install it (after unpacking the requirements.txt and checking the pip dependencies). This is the error I am getting:

OSError: [Errno 13] Permission denied: '/var/lib/openshift/{id}/.pip'

I am not sure why pip suddenly stopped to work, any ideas what it could be? I am using the Python 2.7 cartridge.

Silke
  • 131
  • 8
  • I'd try to make a clean build. Either with the `--force-clean-build` flag or by adding a force_clean_build marker file in the .openshift/markers/ directory. – João Gonçalves Jan 07 '16 at 17:37
  • Have you tried ssh to the gear and run the pip manually? I have experienced similar problems but this solved it for me. –  Jan 07 '16 at 21:57
  • Do you activate virtualenv? Can you use pip when you login through ssh? – Lucas03 Jan 08 '16 at 19:22

0 Answers0