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:

  1. log via rhc , and ssh: rhc ssh 'app'
  2. activate venv: source $openshift_python_dir/virtenv/bin/activate
  3. 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

Popular posts from this blog

sql - invalid in the select list because it is not contained in either an aggregate function -

Angularjs unit testing - ng-disabled not working when adding text to textarea -

How to start daemon on android by adb -