[Bug]: sstv doesnt work
Describe the bug
when i run sstv it says install pysstv numpy pillow but they are already installed
To Reproduce
No response
OS
raspbian
Version
idk
Machine (Hardware)
rpi4
Additional context
No response
Can you confirm that those are installed on /opt/BotWave/venv and not your system environment ? They have to be shown when this command is ran (in a regular shell):
/opt/BotWave/venv/bin/pip show pysstv numpy pillow
warning packages not found
You'll need to install them there, like this:
sudo /opt/BotWave/venv/bin/pip install pysstv numpy pillow
botwave › sstv /opt/BotWave/uploads/big-ball-bird.webp [SSTV] Generating SSTV WAV from /opt/BotWave/uploads/big-ball-bird.webp using mode auto... [SSTV] Please install required modules: [SSTV] /opt/BotWave/venv/bin/pip install pysstv
when i try to install pysstv to that directory it says already satisfied
That's weird, could you send the exact output of /opt/BotWave/venv/bin/pip show pysstv numpy pillow ?
Additionally you'll need to restart BotWave after running the pip install, idk if you already did it
Name: PySSTV Version: 0.5.7 Summary: Python classes for generating Slow-scan Television transmissions Home-page: https://github.com/dnet/pySSTV Author: András Veres-Szentkirályi Author-email: [email protected] License: MIT Location: /opt/BotWave/venv/lib/python3.13/site-packages Requires: Pillow Required-by:
Name: numpy Version: 2.4.4 Summary: Fundamental package for array computing in Python Home-page: https://numpy.org Author: Travis E. Oliphant et al. Author-email: License-Expression: BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0 Location: /opt/BotWave/venv/lib/python3.13/site-packages Requires: Required-by:
Name: pillow Version: 12.2.0 Summary: Python Imaging Library (fork) Home-page: https://python-pillow.github.io Author: Author-email: Jeffrey 'Alex' Clark [email protected] License-Expression: MIT-CMU Location: /opt/BotWave/venv/lib/python3.13/site-packages Requires: Required-by: PySSTV yusuf@radiopi:~ $
yes i did
Could you try running /opt/BotWave/venv/bin/python -c "from pysstv.color import MODES; print(MODES)" ? It should output something like this:
(<class 'pysstv.color.MartinM1'>, <class 'pysstv.color.MartinM2'>, <class 'pysstv.color.ScottieS1'>, <class 'pysstv.color.ScottieS2'>, <class 'pysstv.color.ScottieDX'>, <class 'pysstv.color.Robot36'>, <class 'pysstv.color.PasokonP3'>, <class 'pysstv.color.PasokonP5'>, <class 'pysstv.color.PasokonP7'>, <class 'pysstv.color.PD90'>, <class 'pysstv.color.PD120'>, <class 'pysstv.color.PD160'>, <class 'pysstv.color.PD180'>, <class 'pysstv.color.PD240'>, <class 'pysstv.color.PD290'>, <class 'pysstv.color.WraaseSC2120'>, <class 'pysstv.color.WraaseSC2180'>)
(<class 'pysstv.color.MartinM1'>, <class 'pysstv.color.MartinM2'>, <class 'pysstv.color.ScottieS1'>, <class 'pysstv.color.ScottieS2'>, <class 'pysstv.color.ScottieDX'>, <class 'pysstv.color.Robot36'>, <class 'pysstv.color.PasokonP3'>, <class 'pysstv.color.PasokonP5'>, <class 'pysstv.color.PasokonP7'>, <class 'pysstv.color.PD90'>, <class 'pysstv.color.PD120'>, <class 'pysstv.color.PD160'>, <class 'pysstv.color.PD180'>, <class 'pysstv.color.PD240'>, <class 'pysstv.color.PD290'>, <class 'pysstv.color.WraaseSC2120'>, <class 'pysstv.color.WraaseSC2180'>)
Interesting, so the module is there and loads. Can I get your output of /opt/BotWave/venv/bin/python -c "import sys; print(sys.path)" ? It'll help me debug it
['', '/usr/lib/python313.zip', '/usr/lib/python3.13', '/usr/lib/python3.13/lib-dynload', '/opt/BotWave/venv/lib/python3.13/site-packages']
Oh, I can see that you're on python3.13, are you perhaps on Raspbian Trixie (uname -v) ? It works correctly on my pi 4 using python 3.11, I'll check if its the same thing for python3.13 but it'll take some time to install.
#1 SMP PREEMPT Debian 1:6.12.75-1+rpt1 (2026-03-11)
soo what do i do
To be honest I'm not sure of what you should do, I'm trying to get the same setup as yours right now. I'll send another message if I find anything useful
btw how did u do the thing where you connected to a walkie talkie it seems interesting
It was done by replacing the BotWave default backend with this one. There is already a short tutorial in the readme but it's kinda complex. If you'd like to reproduce it I could help you, but it'll just be easier if you DM me on any socials like discord or smth like that (check https://douxx.tech/ there are some links)
i could dm you on tiktok