python - OpenShift Requirements.txt Pip error -


i want deploy python app openshift , app using tweepy library in it. tweepy, easy_install not working, created requirements.txt file has 1 line "tweepy", i'm getting error parse_requirements() got unexpected keyword argument 'session' , permission denied. don't know is. searched lot, none of solutions worked. solution, tried install manually, cannot reach sudo level , not allow me use pip. in advance.

    checking pip dependency listed in requirements.txt file..                                          remote: downloading/unpacking tweepy (from -r /var/lib/openshift/556db0635004460bb70000f6/app-root/runtime     /repo/requirements.txt (line 1))                                                                               remote:   downloading tweepy-3.3.0.tar.gz                                                                      remote:   running setup.py egg_info package tweepy                                                         remote:     traceback (most recent call last):                                                                 remote:       file "<string>", line 16, in <module>                                                            remote:       file "/var/lib/openshift/556db0635004460bb70000f6/app-root/runtime/dependencies/python/virte     nv/build/tweepy/setup.py", line 17, in <module>                                                                remote:         install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())                    remote:     typeerror: parse_requirements() got unexpected keyword argument 'session'                       remote:     complete output command python setup.py egg_info:                                             remote:     traceback (most recent call last):                                                                 remote:      remote:   file "<string>", line 16, in <module>                                                                remote:      remote:   file "/var/lib/openshift/556db0635004460bb70000f6/app-root/runtime/dependencies/python/virtenv/b     uild/tweepy/setup.py", line 17, in <module>                                                                    remote:      remote:     install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1())                        remote:      remote: typeerror: parse_requirements() got unexpected keyword argument 'session'  remote: ----------------------------------------                                                           remote: cleaning up...                                                                                     remote: command python setup.py egg_info failed error code 1 in /var/lib/openshift/556db0635004460bb7 0000f6/app-root/runtime/dependencies/python/virtenv/build/tweepy                                           remote: traceback (most recent call last):                                                                 remote:   file "/var/lib/openshift/556db0635004460bb70000f6/python/virtenv/bin/pip", line 12, in <module>  remote:     load_entry_point('pip==1.4.1', 'console_scripts', 'pip')()                                     remote:   file "/var/lib/openshift/556db0635004460bb70000f6/app-root/runtime/dependencies/python/virtenv/l ib/python2.6/site-packages/pip/__init__.py", line 148, in main                                             remote:     return command.main(args[1:], options)                                                         remote:   file "/var/lib/openshift/556db0635004460bb70000f6/app-root/runtime/dependencies/python/virtenv/l ib/python2.6/site-packages/pip/basecommand.py", line 171, in main                                          remote:     log_fp = open_logfile(log_fn, 'w')                                                             remote:   file "/var/lib/openshift/556db0635004460bb70000f6/app-root/runtime/dependencies/python/virtenv/l ib/python2.6/site-packages/pip/basecommand.py", line 200, in open_logfile                                  remote:     os.makedirs(dirname)                                                                           remote:   file "/var/lib/openshift/556db0635004460bb70000f6/python/virtenv/lib64/python2.6/os.py", line 15 7, in makedirs                                                                                             remote:     mkdir(name, mode)                                                                              remote: oserror: [errno 13] permission denied: '/var/lib/openshift/556db0635004460bb70000f6/.pip'      


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -