【发布时间】: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 的实际含义是什么?
【问题讨论】:
-
我猜这是内存问题。见stackoverflow.com/questions/19632714/…
-
也许尝试从pypi手动下载并安装
.tar.gz以获得python setup.py调用的实际输出
标签: python pip openshift error-code