Bug 471349

Summary: [EXPERIMENTAL] Kden doesn't detect system-installed python packages
Product: [Applications] kdenlive Reporter: calibre705
Component: Video Effects & TransitionsAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: minor CC: fun
Priority: NOR    
Version First Reported In: git-master   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description calibre705 2023-06-22 17:37:39 UTC
SUMMARY

Kden isn't recognising some system-installed packages on Arch for python modules.

STEPS TO REPRODUCE
1. Make sure you're running the version from `kdenlive-release-git` on the AUR.
2. Install the required package python-whisper.
3. Open Kden and check settings.

OBSERVED RESULT
It still complains that the python package openai-whisper is not installed.

EXPECTED RESULT
Kden recognises that it has access to the necessary Python modules.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch rolling
(available in About System)
KDE Plasma Version: N/A
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
Installing the required packages via pip install --break-system-packages does work to resolve this, but it is far from ideal, and moves the update cycle outside of the distro's ideal method.
Comment 1 Abe 2023-07-13 08:14:02 UTC
I'm also having issues with `whisper` not being detected. I did

     $ pipx install openai-whisper
     $ which whisper
     /home/myuser/.local/bin/whisper
Comment 2 Abe 2023-07-13 08:17:33 UTC
(I was on the middle of writing my comment and it got sent somehow, can't edit it...)

So `whisper` works on the command line and it creates subtitles for video files, but `Kdenlive` suggests to install it (and fails to do so). Also on Archlinux.

    $ which kdenlive
    /usr/bin/kdenlive
    $ pacman -Ss kdenlive
    extra/kdenlive 23.04.3-1 (kde-applications kde-multimedia) [installed]