-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Why not use opencv-python-headless
also for newer versions of Python?
#6
Comments
This is somewhat related to janclemenslab/napari-video#3. Perhaps it's also worth considering an alternative video backend... |
Hi, I agree, the headless version is clearly preferable. We had a good reason for the version split in the dependencies, but I do not remember it anymore. Maybe at the time of writing the package, there was no headless version of the package for py>=3.10. Let me try and make opencv headless the dep for all python version and see what happens. |
And yes, using pyav as the backend might be preferable. What @bjudkewitz has implemented here janclemenslab/napari-video#3 looks great but it need some more testing before we can use it. |
Thanks for the swift response, Jan. I'll chime in on the discussion under janclemenslab/napari-video#3, because I also have a stake at having a robust video player in |
Thanks for releasing a version that only depends on |
I noticed that the package depends on
opencv-python
instead ofopencv-python-headless
for Python versions >= 3.10.I was wondering if there is a reason for that. Could it still use "headless" for newer versions?
Context
I'm developing a napari plugin using QT, and I'd like to also use
napari-video
, which depends on this package.However I keep hitting segmentation faults, and I have a strong suspicion they come a conflict between opencv-python and PyQt5. Uninstalling opencv-python and installing opencv-python-headless solves the issue on my end.
The text was updated successfully, but these errors were encountered: