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

Python.h: No such file or directory #2

Open
jbrepogmailcom opened this issue Mar 19, 2019 · 2 comments
Open

Python.h: No such file or directory #2

jbrepogmailcom opened this issue Mar 19, 2019 · 2 comments

Comments

@jbrepogmailcom
Copy link

Have both python and python3 installed on Ubuntu 18:

psutil/_psutil_common.c:9:10: fatal error: Python.h: No such file or directory
#include <Python.h>
^~~~~~~~~~
compilation terminated.
error: command 'x86_64-linux-gnu-gcc' failed with exit status 1


Failed building wheel for psutil

@marcelhuberfoo
Copy link

You are probably missing the python-dev or python3-dev package which is required for building native python libraries.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@marcelhuberfoo @jbrepogmailcom and others