Pysim No matching distribution found for pyosmocom>=0.0.6
Hi community. I'm trying to program SJA5 SIM card with pysim but pip install pyosmocom not found >=0.0.6 *pip3 install --user -r requirements.txt*
*Collecting git+https://github.com/osmocom/asn1tools <https://github.com/osmocom/asn1tools> (from -r requirements.txt (line 14))* * Cloning https://github.com/osmocom/asn1tools <https://github.com/osmocom/asn1tools> to /tmp/pip-kjlftso8-build* *Collecting git+https://github.com/hologram-io/smpp.pdu <https://github.com/hologram-io/smpp.pdu> (from -r requirements.txt (line 16))* * Cloning https://github.com/hologram-io/smpp.pdu <https://github.com/hologram-io/smpp.pdu> to /tmp/pip-fdpvjd15-build* *Requirement already satisfied: pyscard in /usr/lib/python3/dist-packages (from -r requirements.txt (line 1))* *Requirement already satisfied: pyserial in /usr/lib/python3/dist-packages (from -r requirements.txt (line 2))* *Requirement already satisfied: pytlv in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 3))* *Collecting cmd2>=1.5 (from -r requirements.txt (line 4))* * Using cached https://files.pythonhosted.org/packages/f3/9a/495a0577cbae4a11dc0b2a2174688f... <https://files.pythonhosted.org/packages/f3/9a/495a0577cbae4a11dc0b2a2174688f0bab83d1b81245a105f1613a365828/cmd2-2.4.3-py3-none-any.whl>* *Requirement already satisfied: jsonpath-ng in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 5))* *Requirement already satisfied: construct>=2.10.70 in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 6))* *Requirement already satisfied: bidict in /usr/local/lib/python3.6/dist-packages (from -r requirements.txt (line 7))* *Collecting pyosmocom>=0.0.6 (from -r requirements.txt (line 8))* * Could not find a version that satisfies the requirement pyosmocom>=0.0.6 (from -r requirements.txt (line 8)) (from versions: )**No matching distribution found for pyosmocom>=0.0.6 (from -r requirements.txt (line 8))*
How to fix it? more info: ubuntu 18.04 Python 3.6.9 (default, Mar 10 2023, 16:46:00)
Hi, On Mon, Dec 30, 2024 at 02:26:46PM +0800, Deliver Coo wrote:
Hi community. I'm trying to program SJA5 SIM card with pysim but pip install pyosmocom not found >=0.0.6
That's strange. https://pypi.org/project/pyosmocom/ clearly shows that a 0.0.7 is available, and https://pypi.org/project/pyosmocom/#history shows that both a 0.0.6 and a 0.0.7 are available, both of which fulfill the requirement of ">= 0.0.6"
more info: ubuntu 18.04 Python 3.6.9 (default, Mar 10 2023, 16:46:00)
Oh wow, this looks like from a museum. I'm not sure any of our code runs on python 3.6, to be honest. "Python 3.6 reached upstream end-of-life on December 23rd, 2021" see https://devguide.python.org/versions/ This might be related. I strongly suggest to use a currently supported version of python. -- - Harald Welte <laforge@osmocom.org> https://laforge.gnumonks.org/ ============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Thank you for your patience in answering. After change python from 3.6 to 3.8.5, this problem is solved. Have a nice day~ Harald Welte <laforge@osmocom.org> 于2025年1月1日周三 21:30写道:
Hi,
On Mon, Dec 30, 2024 at 02:26:46PM +0800, Deliver Coo wrote:
Hi community. I'm trying to program SJA5 SIM card with pysim but pip install pyosmocom not found >=0.0.6
That's strange. https://pypi.org/project/pyosmocom/ clearly shows that a 0.0.7 is available, and https://pypi.org/project/pyosmocom/#history shows that both a 0.0.6 and a 0.0.7 are available, both of which fulfill the requirement of ">= 0.0.6"
more info: ubuntu 18.04 Python 3.6.9 (default, Mar 10 2023, 16:46:00)
Oh wow, this looks like from a museum. I'm not sure any of our code runs on python 3.6, to be honest.
"Python 3.6 reached upstream end-of-life on December 23rd, 2021" see https://devguide.python.org/versions/
This might be related. I strongly suggest to use a currently supported version of python.
-- - Harald Welte <laforge@osmocom.org> https://laforge.gnumonks.org/
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
participants (2)
-
Deliver Coo -
Harald Welte