Blog_mini icon indicating copy to clipboard operation
Blog_mini copied to clipboard

install failed

Open slzzz opened this issue 6 years ago • 1 comments

In file included from psycopg/psycopgmodule.c:27:0:
./psycopg/psycopg.h:30:20: fatal error: Python.h: No such file or directory
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

----------------------------------------

Command "/usr/bin/python3.5 -u -c "import setuptools, tokenize;file='/tmp/pip-install-srh3n03y/psycopg2/setup.py';f=getattr(tokenize, 'open', open)(file);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, file, 'exec'))" install --record /tmp/pip-record-p4a2app1/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-srh3n03y/psycopg2/

slzzz avatar May 10 '18 05:05 slzzz

一些依赖没有解决,参考解决方案:https://blog.csdn.net/wang1144/article/details/42277179

xpleaf avatar May 16 '18 01:05 xpleaf