when I git push and rebuild my DIY application in OpenShift, the pip install failed, and the error is Permission Denied. does any one know why ?
I have no idea why pip
looks like pip install by default tries to write some information into your home directory, which you don't have access to write to on openshift. Have you tried using one of the pre-built python cartridges? They are setup to correctly install packages that you define within your application.
If you are dead set on using a DIY gear, you might at least look at the code for the default python cartridges and see how they solve this same issue: https://github.com/openshift/origin-server/tree/master/cartridges