Hi there!

Does a simple "pip install pyosmocom" fix this error?

Lavindu

On Wed, Oct 23, 2024 at 9:09 PM EVELIO ASTAIZA HOYOS <eastaiza@uniquindio.edu.co> wrote:
Cordial greeting,

A few months ago I purchased a pack of 10 sysmoISIM-SJA5-9FV SIMs and
one Omnikey 3121 USB card reader.

Since I received the products I have tried to install PySim to program
the sim cards for use with OAI, when carrying out the installation
process as indicated in the documentation
(https://urldefense.com/v3/__https://github.com/osmocom/pysim__;!!K-Hz7m0Vt54!jcntDDRhcuTz8gBmml536ERKb9jw30xyBBcG2SbcyPf6qHJeArxQonzQpL6eSCNdTN8TeBmjws_v-bCNvSG3_oHk$ ) on different versions of Ubuntu
(20LTS, 22LTS and 24LTS) and over Linux Arch 2024 is generated the
following error message

File "/usr/bin/pySim-shell.py", line 50, in <module>
    from osmocom.utils import h2b, b2h, i2h, swap_nibbles, rpad,
JsonEncoder, is_hexstr, is_decimal
ModuleNotFoundError: No module named 'osmocom'

For this reason, I have not been able to program the purchased SIM cards

Could you please help me by sending detailed instructions on how to
successfully carry out the installation process of PySim on any
suggested version of Linux?

I appreciate the attention and collaboration you can give me.

Best regards

P.D.

Sale Order: SO8027
Delivery Order: AM93\OUT\07572
Webshop Order ID: WEBON12442




--