psutil

Chris Angelico rosuav at gmail.com
Tue Feb 27 19:37:02 EST 2018


On Wed, Feb 28, 2018 at 11:29 AM, Larry Martell <larry.martell at gmail.com> wrote:
> Trying to install psutil (with pip install psutil) on Red Hat EL 7.
> It's failing with:
>
> Python.h: No such file or directory
>
> Typically that means the python devel libs are not installed, but they are:
>
> [root at liszt ~]# yum install python-devel
> Package python-devel-2.7.5-58.el7.x86_64 already installed and latest version
> Nothing to do
>
> Anyone have any idea what to try next?

Are you trying to install that into Python 3 or Python 2? Might need
to grab python3-devel.

ChrisA



More information about the Python-list mailing list