【发布时间】:2015-05-17 02:30:22
【问题描述】:
我正在尝试在我们的项目服务器(debian 6.0)上安装 taiga(scrum 工具)
安装指南:
http://taigaio.github.io/taiga-doc/dist/setup-production.html
到目前为止,我说到重点:
安装依赖
pip install -r requirements.txt
我得到以下错误:
i586-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security -fPIC -DPSYCOPG_DEFAULT_PYDATETIME=1 -DPSYCOPG_VERSION="2.5.4 (dt dec pq3 ext)" -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -DPG_VERSION_HEX=0x090401 -DPSYCOPG_EXTENSIONS=1 -DPSYCOPG_NEW_BOOLEAN=1 -DHAVE_PQFREEMEM=1 -I/usr/include/python2.7 -I。 -I/usr/include/postgresql -I/usr/include/postgresql/9.4/server -c psycopg/psycopgmodule.c -o 构建/temp.linux-i686-2.7/psycopg/psycopgmodule.o -Wdeclaration-after-statement
无法执行“i586-linux-gnu-gcc”:没有这样的文件或目录
错误:命令“i586-linux-gnu-gcc”失败,退出状态为 1
---------------------------------------- 清理... 命令 / usr/bin/python -c "导入安装工具, tokenize;文件='/tmp/pip-build-mEfjyg/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" 安装 --record /tmp/pip-BX4WIW-record/install-record.txt --single-version-externally-managed --compile 在 /tmp/pip-build-mEfjyg/psycopg2 中失败,错误代码为 1 /root/.pip/pip.log
有没有办法解决这个问题?
PS:
python-dev 已安装
注释了 requirements.txt 中的最后一行 (enum34==1.0)
【问题讨论】:
标签: python linux gcc debian taiga