pySim ModuleNotFoundError: No module named 'construct'

Niels ten Oever lists at digitaldissidents.org
Wed Apr 28 17:18:34 UTC 2021


Hi all,

I am a happy user of pySim - thanks a lot for the work on it. Unfortunately, I think something broke during recent updates that might have to do with software versions. 

I went through a full reinstall and have done all the software installations mentioned in the README.md, but when I do:

$ ./pySim-read.py -p0                                       

I get:

Traceback (most recent call last):
  File "./pySim-read.py", line 31, in <module>
    from pySim.ts_51_011 import EF, DF, EF_SST_map, EF_AD
  File "/home/gagarin/Data/pysim/pySim/ts_51_011.py", line 324, in <module>
    from construct import *
ModuleNotFoundError: No module named 'construct'

I tried:

$ sudo pip3 install construct                                            
Requirement already satisfied: construct in /usr/local/lib/python3.8/dist-packages (2.10.67)

But that did not solve the issue. 

Any pointers are very welcome.

All the best,

Niels

PS FYI:
$ cat /proc/version                                                         
Linux version 5.8.0-50-generic (buildd at lgw01-amd64-051) (gcc (Ubuntu 10.2.0-13ubuntu1) 10.2.0, GNU ld (GNU Binutils for Ubuntu) 2.35.1) #56-Ubuntu SMP Mon Apr 12 17:18:36 UTC 2021

$ lsusb | grep OMNI                                                        
Bus 001 Device 033: ID 076b:3031 OmniKey AG OMNIKEY 3x21 Smart Card Reader



-- 
Niels ten Oever, PhD
Postdoctoral Researcher - Media Studies Department - University of Amsterdam
Research Fellow - Centre for Internet and Human Rights - European University Viadrina
Associated Scholar - Centro de Tecnologia e Sociedade - Fundação Getúlio Vargas

https://nielstenoever.net - mail at nielstenoever.net - @nielstenoever - +31629051853
PGP: 2458 0B70 5C4A FD8A 9488 643A 0ED8 3F3A 468A C8B3

Read my latest article on Internet infrastructure governance in New Media & Society here: https://journals.sagepub.com/doi/full/10.1177/1461444820929320


More information about the OpenBSC mailing list