psutil failed import

22 views
Skip to first unread message

giusepp...@unical.it

unread,
Aug 7, 2018, 9:25:06 AM8/7/18
to psutil
Hi I am a newbie at this stuff, I am trying to run a script 

importing psutil, but the import fails

Traceback (most recent call last):
  File "./pyrunlim.py", line 24, in <module>
    import psutil

The library seems to be installed, I don't know whether I have to check further parameters

pip install psutil
Requirement already satisfied: psutil in /usr/local/lib/python2.7/dist-packages (5.4.6)

I also did a recursive chmod a+rw to /usr/local/lib/python2.7/dist-packages/psutil directory, but the script still fails the import.

Anybody can help?

Thanks
G.
Reply all
Reply to author
Forward
0 new messages