问题
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
回答1:
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:
- Pandas on OpenShift v3
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.
回答2:
Thanks @Graham I followed this instruction Pandas on OpenShift v3 to edit YAML build configuration
resources:
limits:
memory: 1Gi
来源:https://stackoverflow.com/questions/46117432/pip-install-failed-in-openshift-3