Bug 514157 - macOS: Object Detection (SAM2) plugin fails because Kdenlive embeds Python 3.9, but SAM2 requires Python ≥ 3.10
Summary: macOS: Object Detection (SAM2) plugin fails because Kdenlive embeds Python 3....
Status: REPORTED
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (other bugs)
Version First Reported In: 25.12.0
Platform: macOS (DMG) macOS
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2026-01-04 19:13 UTC by lip-ivy-crazy
Modified: 2026-01-15 18:30 UTC (History)
1 user (show)

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


Attachments
Settings → Plugins → Object Detection - Install missing dependencies - Error - screenshot (237.24 KB, application/pdf)
2026-01-04 19:13 UTC, lip-ivy-crazy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description lip-ivy-crazy 2026-01-04 19:13:31 UTC
Created attachment 188213 [details]
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)