PySpecSDR win

 1.12.2024
PySpecSDR win

https://github.com/xqtr/PySpecSDR

Windows 10
Python 3.12.7 - windows-curses does not work in Python 3.13

requirements.txt:
numpy>=1.20.0
scipy>=1.7.0
sounddevice>=0.4.1
SoapySDR>=0.8.0
pyrtlsdr>=0.2.91

Also have to install py modules setuptools & windows-curses
https://pypi.org/project/windows-curses/#files

Copy dll files librtlsdr and libusb-1.0 to e.g. folder where python.exe is located. Those files can be found e.g. from rtl_433
https://github.com/merbanan/rtl_433/releases

PySpecSDR does not start if run from Python IDLE (works from command line)
    fd=_sys.__stdout__.fileno())
AttributeError: 'NoneType' object has no attribute 'fileno'

One workaround probably is modify windows-curses code
https://docs.python.org/3/library/shutil.html#shutil.get_terminal_size

To get rid of warning messages at PySpecSDR init when running it is comment out ''' ---- '''' comment block at the beginning of the code.

 

#!/usr/bin/python3
## ____        ____                  ____  ____  ____  
##|  _ \ _   _/ ___| _ __   ___  ___/ ___||  _ \|  _ \
##| |_) | | | \___ \| '_ \ / _ \/ __\___ \| | | | |_) |
##|  __/| |_| |___) | |_) |  __/ (__ ___) | |_| |  _ <
##|_|    \__, |____/| .__/ \___|\___|____/|____/|_| \_\
##       |___/      |_|                              
.....




Comments

Popular posts from this blog

Modifying old SDR# TETRA demod plug-in

Mods for SDR# TETRA demod plugin 1.0.14.0 - 2