tkVideoPlayer icon indicating copy to clipboard operation
tkVideoPlayer copied to clipboard

Problem installing for python 3.11 and above

Open PaulleDemon opened this issue 2 years ago • 5 comments

Currently PyAV 9.2.0 supports only till 3.10. The latest pyav 11 does support till python 12, however upon trying the latest package, I seem to notice a memory leak when looping the video, so we'll have to set to 9.2.0.

I would suggest anyone coming across this problem to stick to 3.10 or lower for some more time.

https://github.com/PaulleDemon/tkVideoPlayer/issues/46

PaulleDemon avatar Jan 22 '24 02:01 PaulleDemon

thx,i've met the problem,no way to solve,finally i come here and find the note.i use py312 now.

breakinghong avatar Mar 11 '24 08:03 breakinghong

@breakinghong As much as I'd like to make it available for 3.11 and 3.12, I can't do much until the PyAv team fixes the garbage collection issue. You may run into memory leaks when looping the video, which is why I have kept it at 3.10, besides many industries are still using 3.10 or less, it might take the industry a couple more years to completely migrate to 3.12, so I'd say we stick to 3.10. But I'll try to update this library as soon as the PyAv lib gets updated

PaulleDemon avatar Mar 11 '24 09:03 PaulleDemon

Installing av version av-12.3.0 makes is able to install the dependency. Is it possible to loosen the requirement on the old version?

okoeroo avatar Jul 21 '24 12:07 okoeroo

@okoeroo I can take a look at it, but might take me couple of weeks to update the package, I am a bit busy now.

PaulleDemon avatar Jul 21 '24 16:07 PaulleDemon