我正在尝试在我们的项目服务器 (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 build/temp.linux-i686-2.7/psycopg/psycopgmodule.o -Wdeclaration-after-statement
unable to execute 'i586-linux-gnu-gcc': No such file or directory
error: command 'i586-linux-gnu-gcc' failed with exit status 1
---------------------------------------- Cleaning up... Command /usr/bin/python -c "import setuptools, tokenize;file='/tmp/pip-build-mEfjyg/psycopg2/setup.py';exec(compile(getattr(tokenize, 'open', open)(file).read().replace('\r\n', '\n'), file, 'exec'))" install --record /tmp/pip-BX4WIW-record/install-record.txt --single-version-externally-managed --compile failed with error code 1 in /tmp/pip-build-mEfjyg/psycopg2 Storing debug log for failure in /root/.pip/pip.log
有办法解决这个问题吗?
附言:
python-dev 已安装
在requirements.txt (enum34==1.0)的最后一行注释掉
最佳答案
我有这个错误并解决了安装包 mingw32 和依赖项 (linux)
关于python - 针叶林 'i586-linux-gnu-gcc' : No such file or directory,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29052042/