Pip install failed in openshift 3

久未见 提交于 2019-12-25 18:31:13

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!