On Tue, 27 Feb 2018 19:29:50 -0500, Larry Martell 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@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?
I am not familiar with Red Hat and the RPM package system but on my Debian based system it is in the repository as an installable package. The package names are python-psutil and python3-psutil. -- <Wildman> GNU/Linux user #557453 The cow died so I don't need your bull! -- https://mail.python.org/mailman/listinfo/python-list