2

I am trying to get an application started on Openshift, using the Python cartridge 3.3. I've added my dependencies into the requirements.txt, but the application fail to load on pandas dependency. I've searched through the web and there's only one mention of issues related to pandas and numpy but cannot seem to help. I've attempted to install pandas via ssh and end up with the following message after a while

Installing collected packages: pandas
  Running setup.py install for pandas
Connection to [app].rhcloud.com closed by remote host.
Connection to [app].rhcloud.com closed.

Has anyone already used pandas on Openshift? Is there potential issues due to C dependencies?

Thank you

Khiet
  • 29
  • 2
  • Can you provide any log files from the failed dependencies installation when you do the "git push" ? –  Jun 08 '15 at 15:42
  • I've been trying to install it, but failed. – iMitwe Jul 13 '15 at 13:33
  • I believe the reason for this problem is that the gear runs out of RAM during the optimisation process of the `algos.c` compilation. See the [question](https://stackoverflow.com/q/30814931/604687) and [answer](https://stackoverflow.com/a/32990354/604687) that Fabian links to in his answer below. – Ninjakannon Mar 14 '16 at 23:32
  • Archived link: https://web.archive.org/web/20150911000211/https://forums.openshift.com/installing-numpy-and-pandas-with-openshift – Cœur Feb 22 '20 at 12:51

1 Answers1

3

I had the same problem. It seems that with OpenShift there's a problem compiling algos.cwhich is part of pandas.

By installing manually I was able to avoid OpenShift's closing of the connection: See my answer to this similar question.

Community
  • 1
  • 1
Fabian
  • 571
  • 5
  • 24