error when running glances

if your found error like this after install glances monitoring tools, don’t be panic i have been thru this before

awan@awan-local-server:~$ glances
Traceback (most recent call last):
File “/usr/local/bin/glances”, line 5, in
from pkg_resources import load_entry_point
File “/usr/lib/python2.7/dist-packages/”, line 2707, in
File “/usr/lib/python2.7/dist-packages/”, line 686, in require
needed = self.resolve(parse_requirements(requirements))
File “/usr/lib/python2.7/dist-packages/”, line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: psutil>=0.5.1

the solution just execute this command

:~$ sudo pip install psutil

if you don’t have pip, install pip using command

sudo apt-get install pyhton-pip python-dev

glances is quite advance and detail like atop, but it’s more easy to understanding. i prefer glances rather than htop.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s