Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

install latest psutil version in centos 6.7

My system os version is (centos)6.7 with installed python version is 2.6.* When I tried to install a python module psutil with a command

yum install python-psutil

But the installed version is 0.3.6 something...

But the latest version of psutil module is 3.2.2

What might be the problem? How to solve it ? Do I need to update python version ?

or

Update psutil version ? If so how to install particular version of psutil ?

This might not be a great question to ask, But Please give some suggestion what to do or Where I am going wrong ?

like image 238
chikku Avatar asked Jan 08 '23 09:01

chikku


1 Answers

Python2

yum install gcc python-devel
pip install psutil

Python3

yum install gcc python3-devel
pip3 install psutil
like image 178
cronos Avatar answered Jan 09 '23 23:01

cronos