I'm trying to install python packages on OpenShift but I see a dearth of pages about the best way to do this. Can someone please suggest the best way of getting on say oauth2
and simplejson
. I've tried including these in the setup.py
, but I have no idea whether these are actually available or I'll have to upload and point to the path. How can I do this?
相关问题
- how to define constructor for Python's new Nam
- streaming md5sum of contents of a large remote tar
- How to get the background from multiple images by
- Evil ctypes hack in python
- Correctly parse PDF paragraphs with Python
Trying to install Python libraries via pip always results in
OSError: [Errno 13] Permission denied
errors for me. Not sure if this is a change in OpenShift behavior or a some misconfiguration on my part. For anyone else who has issues installing via pip,easy_install
consistently works for me (at least with the Flask cartridge):Did you install
rhc
(made by OpenShift.com) ?If not then see on OpenShift.com: Installing OpenShift RHC Client Tools
Now you can access server with
rhc
and then you can do as always:
checking python version (with big V)
checking pip version (with big V)
checking installed modules
searching module
installing new module
and other linux/bash functions