Bug 471349 - [EXPERIMENTAL] Kden doesn't detect system-installed python packages
Summary: [EXPERIMENTAL] Kden doesn't detect system-installed python packages
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Video Effects & Transitions (other bugs)
Version First Reported In: git-master
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-06-22 17:37 UTC by calibre705
Modified: 2023-07-13 08:17 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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]