Installation-Problem pyLMS7002Soapy on Raspberry Pi 5

Hello,
I tried to install “pyLMS7002Soapy” on my Raspberry Pi 5 (64Bit, Debian 12, bookworm / wayland; Python 3.11.2)
The Installation seemed to be ok, the file “pyLMS7002Soapy-1.1.0-py3.11.egg” was kreated, but not correctly installed in Python.

Here the Installation Info after the second try :
jens@raspberrypi:~/pyLMS7002Soapy-master $ sudo python3 setup.py install
running install
/usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
/usr/lib/python3/dist-packages/setuptools/command/easy_install.py:146: EasyInstallDeprecationWarning: easy_install command is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running bdist_egg
running egg_info
writing pyLMS7002Soapy.egg-info/PKG-INFO
writing dependency_links to pyLMS7002Soapy.egg-info/dependency_links.txt
writing requirements to pyLMS7002Soapy.egg-info/requires.txt
writing top-level names to pyLMS7002Soapy.egg-info/top_level.txt
reading manifest file ‘pyLMS7002Soapy.egg-info/SOURCES.txt’
adding license file ‘COPYING’
writing manifest file ‘pyLMS7002Soapy.egg-info/SOURCES.txt’
installing library code to build/bdist.linux-aarch64/egg
running install_lib
running build_py
creating build/bdist.linux-aarch64/egg
creating build/bdist.linux-aarch64/egg/tests
copying build/lib/tests/init.py → build/bdist.linux-aarch64/egg/tests
copying build/lib/tests/test_lms.py → build/bdist.linux-aarch64/egg/tests
byte-compiling build/bdist.linux-aarch64/egg/tests/init.py to init.cpython-311.pyc
byte-compiling build/bdist.linux-aarch64/egg/tests/test_lms.py to test_lms.cpython-311.pyc
creating build/bdist.linux-aarch64/egg/EGG-INFO
copying pyLMS7002Soapy.egg-info/PKG-INFO → build/bdist.linux-aarch64/egg/EGG-INFO
copying pyLMS7002Soapy.egg-info/SOURCES.txt → build/bdist.linux-aarch64/egg/EGG-INFO
copying pyLMS7002Soapy.egg-info/dependency_links.txt → build/bdist.linux-aarch64/egg/EGG-INFO
copying pyLMS7002Soapy.egg-info/requires.txt → build/bdist.linux-aarch64/egg/EGG-INFO
copying pyLMS7002Soapy.egg-info/top_level.txt → build/bdist.linux-aarch64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents…
tests.pycache.test_lms.cpython-311: module references file
creating ‘dist/pyLMS7002Soapy-1.1.0-py3.11.egg’ and adding ‘build/bdist.linux-aarch64/egg’ to it
removing ‘build/bdist.linux-aarch64/egg’ (and everything under it)
Processing pyLMS7002Soapy-1.1.0-py3.11.egg
removing ‘/usr/local/lib/python3.11/dist-packages/pyLMS7002Soapy-1.1.0-py3.11.egg’ (and everything under it)
creating /usr/local/lib/python3.11/dist-packages/pyLMS7002Soapy-1.1.0-py3.11.egg
Extracting pyLMS7002Soapy-1.1.0-py3.11.egg to /usr/local/lib/python3.11/dist-packages
pyLMS7002Soapy 1.1.0 is already the active version in easy-install.pth

Installed /usr/local/lib/python3.11/dist-packages/pyLMS7002Soapy-1.1.0-py3.11.egg
Processing dependencies for pyLMS7002Soapy==1.1.0
Searching for pyserial==3.5
Best match: pyserial 3.5
Adding pyserial 3.5 to easy-install.pth file
Installing pyserial-miniterm script to /usr/local/bin
Installing pyserial-ports script to /usr/local/bin

Using /usr/lib/python3/dist-packages
Searching for numpy==1.24.2
Best match: numpy 1.24.2
Adding numpy 1.24.2 to easy-install.pth file
Installing f2py script to /usr/local/bin
Installing f2py3 script to /usr/local/bin
Installing f2py3.11 script to /usr/local/bin

Using /usr/lib/python3/dist-packages
Searching for matplotlib==3.6.3
Best match: matplotlib 3.6.3
Adding matplotlib 3.6.3 to easy-install.pth file

Using /usr/lib/python3/dist-packages
Finished processing dependencies for pyLMS7002Soapy==1.1.0
jens@raspberrypi:~/pyLMS7002Soapy-master $

The first Test:
jens@raspberrypi:~ $ python3
Python 3.11.2 (main, May 2 2024, 11:59:08) [GCC 12.2.0] on linux
Type “help”, “copyright”, “credits” or “license” for more information.

from pyLMS7002Soapy import *
Traceback (most recent call last):
File “”, line 1, in
ModuleNotFoundError: No module named ‘pyLMS7002Soapy’

There are 2 warnings in the Installation-Info depending “easy_install” and “pip”,
which are deprecated in Raspi 5 “bookworm”.

Is there an other way to install “pyLMS7002Soapy” on a Raspberry Pi 5 ?

It hasn’t been updated in ~5 years, I don’t think there are any plans to and we should probably archive it.

Hi Andrew,
thank you vor the Reply,
does it mean, that it is not possable to install this Program on RPi5 ?
Do you have any idea whitch outher VNA-Program uses the LimeSDR Mini 2 on RPi5 or Win10 ?

I mean I’m not sure whether it will work at all with a recent version of Lime Suite. Perhaps it will, but it’s just that it’s not been updated in a long time.

@ricardas may have some more useful comments.

I did not try on RPi5, but on RPi4 the pyLMS7002Soapy installs and the examples are functioning. The package is found after “sudo ldconfig” is ran.

Because it’s using SoapySDR as the interface, it can work with both legacy LimeSuite and the new LimeSuiteNG, only the driver needs to be selected which one to use pyLMS7002Soapy/pyLMS7002Soapy/pyLMS7002Soapy.py at master · myriadrf/pyLMS7002Soapy · GitHub

So technically it can work, but not without update or maintenance. As currently it’s hardcoded to accept only “LimeSDR-USB” and “LimeSDR-Mini” (v1) boards, v2 is not accepted. I’ve tried modifying and running the examples with Mini v2, it connects and runs, but the calibrations and data streaming is failing. probably because Mini v2 is not identical to v1 in the required registers values to function properly. I did not look deeper what this package actually does and what it is configuring in the chip.