By isendev.
Posted on 2014/03/05 22:21.
Tagged as: programming, python.
As a side note to my previous Raspberry Pi LCD blog entries, these are the steps to install the required PSUtil python package using Pip.
What is PSUtil?
PSUtil is a cross-platform library for retrieving information on running processes and system utilization (CPU, memory, disks, network) in Python.What is Pip?
Pip is a modern, general purpose installation tool for python packages.Steps.
Install first the Linux basic build utilities package (already installed in default Raspbian distribution), the Pip package manager and the default python development libraries from the Raspbian repositories:
sudo apt-get install build-essential python-dev python-pip
Then call PIP to install psutil package:
sudo pip install psutil
Check for correct installation. This command must not throw errors.
sudo python -c "import psutil"