【问题标题】:pip install returns -9pip install 返回 -9
【发布时间】:2019-11-19 20:40:26
【问题描述】:

我在 openshift 环境中运行 source-to-image,在这个环境中,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/

在互联网上查找没有关于特定错误代码“失败,错误代码 -9”的信息。

提示 -9 的实际含义是什么?

【问题讨论】:

标签: python pip openshift error-code


【解决方案1】:

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

作为记录,openshift yaml 可以配置额外的资源,如此链接所示[输入链接描述here

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-05-17
    • 1970-01-01
    • 2014-09-07
    • 2015-06-01
    • 2019-11-18
    • 2014-07-17
    • 2022-07-28
    • 2015-11-01
    相关资源
    最近更新 更多