https://bugs.kde.org/show_bug.cgi?id=514157
Bug ID: 514157
Summary: macOS: Object Detection (SAM2) plugin fails because
Kdenlive embeds Python 3.9, but SAM2 requires Python ≥
3.10
Classification: Applications
Product: kdenlive
Version First 25.12.0
Reported In:
Platform: macOS (DMG)
OS: macOS
Status: REPORTED
Severity: normal
Priority: NOR
Component: Setup & Installation
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 188213
--> https://bugs.kde.org/attachment.cgi?id=188213&action=edit
Settings → Plugins → Object Detection - Install missing dependencies - Error -
screenshot
SUMMARY
On macOS, Kdenlive embeds its own Python interpreter (Python 3.9.6).
When attempting to install the Object Detection / Install Missing Dependencies,
installation fails because the sam-2 package requires Python ≥ 3.10.
There is no setting in the macOS build to select or override the Python
executable. Kdenlive always creates its virtual environments using the embedded
Python 3.9.6, making it impossible to install SAM2 on macOS.
As a result, Object Detection is currently unusable on macOS.
STEPS TO REPRODUCE
1. Settings → Plugins → Object Detection
2. Click Install missing dependencies button
OBSERVED RESULT
In log getting:
ERROR: Package 'sam-2' requires a different Python: 3.9.6 not in '>=3.10.0'
EXPECTED RESULT
SOFTWARE/OS VERSIONS
macOS: 14.7.2 (23H311)
--
You are receiving this mail because:
You are watching all bug changes.