Where is module pprint in Python

If I import the module pprint in a python script then I get the error:

ImportError: No module named pprint

What am I doing wrong? I use the image Colibri_VF_LinuxImageV2.5_20151215.tar.bz2 from Toradex.

python-pprint package is installed ?
May i know how exactly are you installing python ?

I installed it with the package manager, using

opkg update
opkg install python

The current Python Version is 2.7.9-r1.2

That’s the solution. Thank you for the quick support!

python-pprint package would also require installation with

opkg install python-pprint

Check for the available python packages here.

Note that V2.5 is using the packages from the Ångström distribution v2015.06:


Hi JessicaW
Do you have a specific issue/question related to toradex modules? If yes, then ask a new question please!