I recently installed a fresh OS of Debian 12 with Kdenlive as I will need to be doing a lot of video editing, however, I cannot get vosk to work. Kdenlive keeps complaining that vosk is not installed, but I have installed it using pip (after some issues with pip as well, but got that figured out). I cannot find any resources that is even remotely close to what I'm experiencing.
Is there a specific directory that it needs to be installed in or how can I get Kdenlive to recognise the installation?
I have basic knowledge of using terminal so I'm not that savvy with everything. There is an option in kdenlive to install missing depencies, but when I click on that it returns with the following error:
I installed Vosk with the following commands:
But I still have the same issue in Kdenlive.
Any help with this would be highly appreciated
Is there a specific directory that it needs to be installed in or how can I get Kdenlive to recognise the installation?
I have basic knowledge of using terminal so I'm not that savvy with everything. There is an option in kdenlive to install missing depencies, but when I click on that it returns with the following error:
Code:
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. If you wish to install a non-Debian-packaged Python package, create a virtual environment using python3 -m venv path/to/venv. Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make sure you have python3-full installed. If you wish to install a non-Debian packaged Python application, it may be easiest to use pipx install xyz, which will manage a virtual environment for you. Make sure you have pipx installed. See /usr/share/doc/python3.11/README.venv for more information.note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.hint: See PEP 668 for the detailed specification.Traceback (most recent call last): File "/usr/share/kdenlive/scripts/checkpackages.py", line 50, in <module> subprocess.check_call([python, '-m', 'pip', 'install', *missing], stdout=subprocess.DEVNULL) File "/usr/lib/python3.11/subprocess.py", line 413, in check_call raise CalledProcessError(retcode, cmd)subprocess.CalledProcessError: Command '['/usr/bin/python3', '-m', 'pip', 'install', 'vosk']' returned non-zero exit status 1.
Code:
$ mkdir -p ~/.venvs$ python3 -m venv ~/.venvs/vosk$ ~/.venvs/vosk/bin/python -m pip install vosk
Any help with this would be highly appreciated
Statistics: Posted by IConradie — 2025-02-07 18:56 — Replies 0 — Views 22