Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install failed #19

Open
slzzz opened this issue May 10, 2018 · 1 comment
Open

install failed #19

slzzz opened this issue May 10, 2018 · 1 comment
Labels

Comments

@slzzz
Copy link

slzzz commented May 10, 2018

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/

@xpleaf
Copy link
Owner

xpleaf commented May 16, 2018

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

@xpleaf xpleaf added the question label Jul 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants