Kdenlive: Cannot install speech-to-text dependency on Kubuntu

Hello! I want to use speech-to-test in Kdenlive under Kubuntu, but I cannot install the python3 module vosk to get it to work.

OS: Kubuntu 24.04

Program version: Kdenlive 23.08.5, from Ubuntu

Python is managed by Ubuntu, so I can’t automatically install these through Kdenlive. I was able to get pip3 installed with

sudo apt install python3-pip

but there is no package for vosk. Trying to install it through pip give me

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

The next thing I tried was a virtual python environment with venv. I got it set up with vosk installed, but I cannot find any way to use it with Kdenlive. There’s no tab for it under “Configure Kdenlive” > “Environment”

Whisper has the same problem, but with torch and openai-whisper.

I even tried the snap, flatpak, and appimage versions of Kdenlive, and this didn’t change.
I really don’t know what to do next. Other than forcefully installing vosk (which could break my whole system), I’m out of options. How can I install vosk for Kdenlive on Kubuntu?

:expressionless_face:

Perhaps an update to 25.04.3 or 25.08 (ETA next week or the week after) can help as a few things about the Python installs have changed …