Pip install failed in openshift 3

944 views Asked by At

I want to use the new platform Openshift 3 but I can't install lxml for Weblate with pip when build process is launch.

In logs the last line is "Running setup.py install for lxml" but no more error

How can I found what happened ?

Thanks

2

There are 2 answers

0
general03 On BEST ANSWER

Thanks @Graham I followed this instruction Pandas on OpenShift v3 to edit YAML build configuration

 resources:
    limits:
      memory: 1Gi
3
Graham Dumpleton On

Some of the packages around data analytics when compiled with compiler optimisations can chew up too much memory and hit the default memory limit for builds. Try following steps outlined in:

Is less likely, but just in case is the version of pip used, add a file .s2i/environment and in it add:

UPGRADE_PIP_TO_LATEST=1

This will ensure that latest version of pip is installed first. This can be required sometimes where a package provides a wheel file. Older version of pip used may ignore the binary wheel or get confused in other ways.