Errors while trying to use pip on OpenShift -
i getting following error both when using git , when logging in via rhc , try install requirements file:
the directory '/var/lib/openshift/***/.cache/pip/http' or parent directory not owned current user , cache has been disabled. please check permissions , owner of directory. if executing pip sudo, may want sudo's -h flag. using pip version 7.1.0, version 8.1.2 available. should consider upgrading via 'pip install --upgrade pip' command.
i not trying install sudo
.
trying is:
- log via rhc , and ssh: rhc ssh 'app'
- activate venv:
source $openshift_python_dir/virtenv/bin/activate
pip install -r "$openshift_repo_dir" requirements.txt
note $openshift_python_dir
, $openshift_repo_dir
environment variables given openshift access relevant folders.
any ideas? on python 2.7 cartridge.
openshift automatically install dependencies based on requirements.txt
file. shouldn't ssh app , yourself.
you can find more information on developer center pages. [1]
Comments
Post a Comment