darxtrix / darxtrix/ptop

Can't install ptop on CentOS 7

Open
#57 5 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
582
Forks
44
PR merge metrics
No merged PRs in 30d

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
> ^
> 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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.