我不能安装 pyscopg2 with sudo yum install django pyscopg2.在 CentO



安装将以此消息结束。

命令 "/usr/bin/python3.4 -u -c "import setuptools, tokenize;file='/tmp/pip-nbderdof-build/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r', '');f.close();exec(compile(code, file, 'exec'))" install --record/tmp/pip-p07ubkfd-record/install-record.txt --single-version-externally-managed --compile" 失败,错误代码 1 in/tmp/pip-nbderdof-build/(我的项目)[anyuser@localhost我的项目]$

也许你需要安装python-devel软件包:

sudo yum install python-devel

最新更新