python - pip install 返回 -9

标签 python pip openshift error-code

我在 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/

在网上查找没有关于具体错误代码“failed with error code -9”的信息。

有关 -9 实际含义的提示?

最佳答案

openshift 平台配置为使用以下默认 cpu 值:25milicores 和 64Mib 内存。因此,问题是由内存不足引起的。

郑重声明,可以使用额外资源配置 openshift yaml,如此链接 [输入链接描述 here] 中所示。

关于python - pip install 返回 -9,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/56966984/

相关文章:

python - 查找字符串中每个子字符串的所有出现

Python DNS模块导入错误

python - 如何在 Matplotlib 中为多个图形设置静态 Y 轴?

pip - 在作业之间共享已安装的要求

python - 命令 "pip list"显示错误

java - 为什么这个 java servlet 不起作用 [OpenShift+Tomact6+Git+Jboss]

python - Pandas :GroupBy .pipe() 与 .apply()

python - 我正在尝试使用 pip 安装 MySQL 库,但收到一个奇怪的错误

python - 同一应用程序中的 Openshift Python 和 Nodejs

javascript - 如何在 Codeigniter 中包含外部 javascript 库