How to install and use pandas on Openshift ?
Environment
- Openshift Enterprise
- 2.2
- python 2.7
- pandas
Issue
- Pandas doesn't get installed when added to setup.py as a dependency in python 2.7 in Openshift Enterprise 2.2
Resolution
- Upgrade to Openshift Enterprise 2.2.8
- If the small gear is being used, update to at least the medium gear if not large
- Ssh to the application and rebuild pandas
pip -i pandas
- Rebuild and upgrade
numpy,matplotlibandcyclermodules.
pip -i -U nympy
pip -i -U matplotlib
pip -i -U cycler
This makes pandas usable on OpenShift 2.2
Root Cause
- Possibly a bug in numpy
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
