-
Notifications
You must be signed in to change notification settings - Fork 45
Description
Hi,
I am trying to install ptop on CentOS 7 without success.
The error I am getting is:
psutil/_psutil_common.c:9:20: fatal error: Python.h: No such file or directory
#include <Python.h>
^
compilation terminated.
error: command 'gcc' failed with exit status 1----------------------------------------Command "/usr/bin/python2 -u -c "import setuptools, tokenize;file='/tmp/pip-install-aKSv9b/psutil/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-XEO958/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp/pip-install-aKSv9b/psutil/
I understand that it says I need Python.h but there is no one. With what should it be comming?
EDIT: I have tried with yum install python34-devel but I get the same error.