Freedv Flex Waveform Integration on Ubuntu

36 views
Skip to first unread message

K9YK Radio

unread,
Dec 27, 2025, 3:01:25 PM (3 days ago) Dec 27
to digitalvoice
I'm trying to get the freedv Flex waveform integration running on ubuntu 22 server (no desktop), but I'm getting an error when I try to run it.   

I built on my ubuntu instance with the following commands:
sudo apt install libspeexdsp-dev libsamplerate0-dev sox git \
libwxgtk3.0-gtk3-dev libhamlib-dev libasound2-dev libao-dev \
libgsm1-dev libsndfile1-dev cmake module-assistant build-essential \
autoconf automake libtool libebur128-dev

git clone https://github.com/drowe67/freedv-gui.git

cd freedv-gui

sudo apt install libpulse-dev

python3 -m venv rade-venv

. ./rade-venv/bin/activate

pip3 install torch --index-url https://download.pytorch.org/whl/cpu

pip3 install matplotlib

./build_linux.sh

cd build_linux

ln -s $(pwd)/rade_src/model19_check3 model19_check3

cd ..

mkdir build

cmake ..

make freedv-flex


Then when I try to run it with: PYTHONPATH=$(pwd)/rade_src src/integrations/flex/freedv-flex

I get this:

(rade-venv) admin@qslserv:~/freedv/freedv-gui/build$ PYTHONPATH=$(pwd)/rade_src src/integrations/flex/freedv-flex

19:41:15 INFO /home/admin/freedv/freedv-gui/src/integrations/flex/main.cpp:104: Initializing RADE library...

19:41:15 INFO /home/admin/freedv/freedv-gui/src/integrations/flex/main.cpp:109: Setting up signal handlers...

19:41:15 INFO /home/admin/freedv/freedv-gui/src/integrations/flex/main.cpp:116: Creating RADE object

Python garbage collector disabled (previous state 1)

model file: 

import_array returned: 0

ModuleNotFoundError: No module named 'radae_txe'

Error: importing radae_txe


What am I missing or doing wrong?  

Thanks! 

Mark (K9YK)

Mooneer Salem

unread,
Dec 27, 2025, 3:04:05 PM (3 days ago) Dec 27
to digita...@googlegroups.com
Hi Mark,

Try running it with "PYTHONPATH=$(pwd)/rade_integ_src src/integrations/flex/freedv-flex" instead (note "rade_integ_src" instead of "rade_src"). There was a build change post-2.1.0 that uses a different version of librade from the regular FreeDV application. I thought the README was updated but it might not have been; I'll go double check and update as needed.

Thanks,

-Mooneer K6AQ

--
You received this message because you are subscribed to the Google Groups "digitalvoice" group.
To unsubscribe from this group and stop receiving emails from it, send an email to digitalvoice...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/digitalvoice/bbf1c6fb-90ea-4f41-a3f5-b1bbe079c088n%40googlegroups.com.

K9YK Radio

unread,
Dec 27, 2025, 3:55:58 PM (3 days ago) Dec 27
to digitalvoice
Thanks Mooneer!  That did the trick, it's running now!  
Yes, the readme on github at: freedv-gui/src/integrations/flex says:

The waveform can be run similarly to the main FreeDV application. From your build folder:

$ PYTHONPATH=$(pwd)/rade_src src/integrations/flex/freedv-flex
Reply all
Reply to author
Forward
0 new messages