我在openshift环境中运行源到镜像,在这个环境中,pip将使用requirements.txt
文件来安装多个包。
在安装某些软件包的过程中,我们会遇到以下错误:
Collecting itsdangerous==0.24 (from -r requirements.txt (line 7))
Downloading https://files.pythonhosted.org/packages/dc/b4/a60bcdba945c00f6d608d8975131ab3f25b22f2bcfe1dab221165194b2d4/itsdangerous-0.24.tar.gz (46kB)
Complete output from command python setup.py egg_info:
----------------------------------------
Command "python setup.py egg_info" failed with error code -9 in /tmp/pip-build-1sttjqx7/itsdangerous/
在internet中查找时,没有关于特定错误代码"failed with error code -9“的信息。
小贴士-9的实际含义是什么?
发布于 2019-07-25 20:28:36
openshift平台配置为使用以下默认值的cpu: 25milicore和64Mib内存。因此,这个问题是由内存不足引起的。
对于记录,openshift yaml可以配置额外的资源,如此链接所示[输入链接描述here
https://stackoverflow.com/questions/56966984
复制相似问题