python - 针叶林 'i586-linux-gnu-gcc' : No such file or directory

标签 python linux gcc debian taiga

我正在尝试在我们的项目服务器 (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/

相关文章:

gcc - 我定义了一个名为 'free' : How to stop glibc's printf from using it? 的 C 函数

c++ - 包含许多 "if"的关键循环,其输出为常量 : How to save on condition tests?

python - 如何在字符串中定义过滤器或表达式?

python - Python2.7、3.4 的 pip 安装/升级错误

python - 如何重新映射 python dict 键

python - PyVisa 和打印新数据

linux - BASH 脚本中的日历月变量

linux - 如何通过USB高速传输数据?

linux - 为什么 crontab 在指定月份和星期几时使用 OR?

c++ - Visual C++ 2008 和 g++ 的区别