Hi,
I am in process of burning new SIM card with details from scratch and have been referring to https://gitea.osmocom.org/sim-card/pysim
From the README à Installation I am unable to install below deps at my WSL environment, can someone please suggest a way to do it please ?
pyosmocom
pycryptodomex
pyscard
pyserial
pytlv
pyyaml >= 5.1
Hi Shantanu,
at least the pySim developers have no experience with WSL and always use native Linux installations, so we cannot really help.
Maybe some other user has any idea?
In general, you should be using pip to install the dependencies; pip takes care of the recursive dependencies.
From the README à Installation I am unable to install below deps at my WSL environment, can someone please suggest a way to do it please ?
If you would copy+paste the actual error messages you're getting when trying to use pip, we might be able to review it here..
Hi, Thanks for responding. I am seeing below error and it seems unable to locate the package itself for installation,
===================================== pip install pyosmocom error: externally-managed-environment
× This environment is externally managed ╰─> To install Python packages system-wide, try apt install python3-xyz, where xyz is the package you are trying to install.
If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed.
If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed.
See /usr/share/doc/python3.12/README.venv for more information.
apt install python3-pyosmocom Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package python3-pyosmocom root@UKBR-FSZMHX3:~# apt install python3-osmocom Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package python3-osmocom ========================================================
On Tue, Nov 26, 2024 at 9:36 AM Harald Welte laforge@osmocom.org wrote:
Hi Shantanu,
at least the pySim developers have no experience with WSL and always use native Linux installations, so we cannot really help.
Maybe some other user has any idea?
In general, you should be using pip to install the dependencies; pip takes care of the recursive dependencies.
From the README à Installation I am unable to install below deps at my
WSL
environment, can someone please suggest a way to do it please ?
If you would copy+paste the actual error messages you're getting when trying to use pip, we might be able to review it here..
--
- Harald Welte laforge@osmocom.org
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi Shantanu,
pip install pyosmocom error: externally-managed-environment
The question you are raising is a basic/generic questions about python and package managers.
You can use virtualenv or 'break system packages"
This question is not related to pySim, sorry.