pySim ModuleNotFoundError: No module named 'construct'

Vadim Yanitskiy vyanitskiy at
Fri Apr 30 13:51:56 UTC 2021

Hi Niels,

 > Requirement already satisfied: construct in 
/usr/local/lib/python3.8/dist-packages (2.10.67)

you need to make sure that '/usr/local/lib/python3.8/dist-packages' is 
in the Python's search path (similar to LD_LIBRARY_PATH):

$ python3
 >>> import sys
 >>> sys.path

Here is the output from my system:

['', '/usr/lib/',

If '/usr/local/lib/python3.8/dist-packages' is not there, then indeed 
importing will not work.  You will need to re-configure pip to use a 
proper directory, or add this path to PYTHONPATH.  Good luck!

P.S. So now we have Niels and Neels in the thread ;)

Best regards,

- Vadim Yanitskiy <vyanitskiy at>
* sysmocom - systems for mobile communications GmbH
* Alt-Moabit 93
* 10559 Berlin, Germany
* Sitz / Registered office: Berlin, HRB 134158 B
* Geschaeftsfuehrer / Managing Director: Harald Welte

More information about the OpenBSC mailing list