-
Notifications
You must be signed in to change notification settings - Fork 4
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 is having a qt binding raising a runtime error? #459
Comments
Hi @ziw-liu thanks for the response. Well, for starters the error being raised does not explain that:
We need have minimum testing of recipes on conda-forge, so since qt6 is not an option at the moment, I am tempted to patch that part of the code to remove that and avoid having that issue. |
@goanpeca I agree that the error message can be improved.
We are using Qt6-specific API and using Qt5 instead is known to break certain GUI functionality. Feel free to patch the code on your side if that suits the testing purpose. I just checked that PyQt5 v5.15.10 released Oct 2023 included a new macOS_arm64 build, which was not available in previous versions. I think we can consider moving back to Qt5 in the next version to avoid this problem. |
@goanpeca As I understand Qt6 is available on conda-forge: https://anaconda.org/conda-forge/qt6-main/. |
Windows 11 user here. I just followed all the download instructions and get the same PyQt5 warning. I installed Qt6-main and still get the same warning. I also notice napari literally just released 0.5.3 today, would that cause issues? Any workarounds to make recOrder work in my situation? |
Actually, I should say that after installing Qt6-main, the error message changes to "QTBindingsNotFoundError: No Qt bindings could be found" So Qt6-main is not recognized... help. |
Are you installing the latest stable version from PyPI? |
I just did a fresh install: When I try to open recOrder with napari I get:
|
I also tried PyQt 6.7.0 (previous version), 6.6.1 and 6.6.0. 6.6.0 gave the original error of not finding any qt bindings. 6.6.1 gave this error: 6.7.0 gave the same error as 6.7.1 (latest version on PyPi) Worth noting, napari runs fine with PyQt6 6.7.1 but when I try to open napari with recOrder I get the same error as before. |
@dbcortes2042000 Thanks for a detailed report. We will investigate. |
Any update on this? I have the microscope assembled and ready to go, would be nice to have a workaround! |
@dbcortes2042000 There seems to be two issues. This PyTorch one seems to be resolved in PyTorch 2.4.1 (released Sept 4): https://discuss.pytorch.org/t/failed-to-import-pytorch-fbgemm-dll-or-one-of-its-dependencies-is-missing/ Edit: Note that this a Windows quirk and not Qt-related. |
@dbcortes2042000 As for the Qt/napari stuff, I noticed that you are installing with |
Thanks @ziw-liu ! The second fix took care of the issue for me! |
Thanks @ziw-liu! |
Hello team, while working on conda-forge/recorder-napari-feedstock#7
I got this
Checking the code I found this file
https://github.com/mehta-lab/recOrder/blob/d31ad910abf84c65ba927e34561f916651cbb3e8/recOrder/plugin/__init__.py
Why is having a qt binding installed raising a runtime error?
The text was updated successfully, but these errors were encountered: