-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Getting RuntimeWarning: Selected binding "pyside6" could not be found, using "pyqt5"
what to do?
#395
Comments
From the minimal information provided above, this itself is just a warning, rather than an error, indicating that QtPy could not find an installed Qt binding (PyQt or PySide) in your current environment. The simple solution is to simply install one (PyQt5 or 6, or PySide2 or 6) using whatever package manager (pip, conda or OS) you are already using for your Python environment (virtualenv, conda env, etc). Beyond that, we'll need a lot more information to be able to provide more specific advice. In particular:
Also, please paste the full commands and output you are attempting inside a code block, i.e. ```
<Paste full commands and output here>
``` And also paste the full ```
<Paste full pip/conda list output>
``` Thanks! |
Could it be worthy to add some descriptions to the README regarding possible warnings that QtPy can show @CAM-Gerlach ? |
It would probably be worth fully documenting the error and warning hierarchy defined in To clean up the warning class, message and docstring while remaining fully backwards compatible, I've opened PR #398 |
Checking again the OP I think the warning was triggered due to the @jain-brain setup not having |
RuntimeWarning: Selected binding "pyside6" could not be found, using "pyqt5"
what to do?
I am receiving the following error. I have searched the internet everywhere for the solution. Can you please tell me how to resolve this? Is this due to incompatibility of versions of the library?
/lib/python3.9/site-packages/qtpy/__init__.py:267: RuntimeWarning: Selected binding "pyside6" could not be found, using "pyqt5" warnings.warn('Selected binding "{}" could not be found, '
The text was updated successfully, but these errors were encountered: