psutil

Larry Martell larry.martell at gmail.com
Tue Feb 27 19:47:04 EST 2018


On Tue, Feb 27, 2018 at 7:37 PM, Chris Angelico <rosuav at gmail.com> wrote:
> 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.

Python 2



More information about the Python-list mailing list