Davinci QT binding not found
Running version 3.14.1
Describe the bug OpenPype menu not working.
To Reproduce Steps to reproduce the behavior:
- Go to 'Workspace'
- Click on 'Scripts'
- Click on 'OpenPype menu'
- See error
PySide2/__init__.py: Unable to import shiboken2 from C:\Program Files (x86)\OpenPype\3.14.1\openpype\vendor\python\python_3, C:\ProgramData\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Comp, C:\Program Files\Blackmagic Design\DaVinci Resolve, C:\Users\PC\AppData\Local\Programs\Python\Python36\Lib\site-packages, C:\Program Files\Blackmagic Design\DaVinci Resolve\{VIRTUAL_ENV}\Lib\site-packages, C:\Program Files (x86)\OpenPype\3.14.1\openpype\vendor\python\python_3, C:\Program Files (x86)\OpenPype\3.14.1\openpype\vendor\python\common, C:\Program Files (x86)\OpenPype\3.14.1\openpype\tools, C:\Program Files (x86)\OpenPype\3.14.1, C:\Program Files\Blackmagic Design\DaVinci Resolve, C:\Program Files (x86)\OpenPype\3.14.1\dependencies, C:\ProgramData\Blackmagic Design\DaVinci Resolve\Support\Developer\Scripting\Modules, C:\Users\PC\AppData\Local\Programs\Python\Python36\python36.zip, C:\Users\PC\AppData\Local\Programs\Python\Python36\DLLs, C:\Users\PC\AppData\Local\Programs\Python\Python36\lib, C:\Users\PC\AppData\Local\Programs\Python\Python36
Traceback (most recent call last):
File "C:\ProgramData\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Comp\__OpenPype__Menu__.py", line 20, in <module>
result = main(os.environ)
File "C:\ProgramData\Blackmagic Design\DaVinci Resolve\Fusion\Scripts\Comp\__OpenPype__Menu__.py", line 11, in main
import openpype.hosts.resolve.api as bmdvr
File "C:\Program Files (x86)\OpenPype\3.14.1\openpype\hosts\resolve\api\__init__.py", line 12, in <module>
from .pipeline import (
File "C:\Program Files (x86)\OpenPype\3.14.1\openpype\hosts\resolve\api\pipeline.py", line 19, in <module>
from openpype.tools.utils import host_tools
File "C:\Program Files (x86)\OpenPype\3.14.1\openpype\tools\utils\__init__.py", line 1, in <module>
from .widgets import (
File "C:\Program Files (x86)\OpenPype\3.14.1\openpype\tools\utils\widgets.py", line 3, in <module>
from Qt import QtWidgets, QtCore, QtGui
File "C:\Program Files (x86)\OpenPype\3.14.1\dependencies\Qt.py", line 1925, in <module>
_install()
File "C:\Program Files (x86)\OpenPype\3.14.1\dependencies\Qt.py", line 1873, in _install
raise ImportError("No Qt binding were found.")
ImportError: No Qt binding were found.
Expected behavior Showing the OP menu to create and publish shots.
Desktop (please complete the following information):
- OS: windows
- Host: Davinci
[cuID:OP-4147]
Thank you for reporting the issue. Could you also enclose the Resolves environments? Thank you.
PySide2/__init__.py: Unable to import shiboken2 from ...
Being unable to import shiboken2 but being able to at least trigger PySide2 stands out to me that Python can find PySide2 but fails to import shiboken2 (and thus PySide2) correctly. Which could potentially happen if Python 2 tries to import a Python 3 PySide2 package.
Can you confirm the scripts are correctly running through Python 3 in Resolve. I believe there's a preference in the Resolve with which you can set the default python version - can you confirm the setting is set to Python 3? :)
Another workaround to avoid the setting to be required to be set to Python 3 is to change the OpenPype menu scripts extension to .py3 instead of .py - it'll force Resolve and Fusion to load it with Python 3.
By the way, you can confirm this suspicion by doing the following in the Py3 tab in the Console:
from PySide2 import QtWidgets
If that does work I'm pretty sure Resolve is trying to run the OpenPype menu through a Python 2 interpreter instead.
Hey @aramadan0096 what is the state of this issue. Did you managed to solve it yourself or it persists? Can we close the issue?
Thank you for reporting the issue. Could you also enclose the Resolves environments? Thank you.

PySide2/__init__.py: Unable to import shiboken2 from ...Being unable to import shiboken2 but being able to at least trigger PySide2 stands out to me that Python can find PySide2 but fails to import shiboken2 (and thus PySide2) correctly. Which could potentially happen if Python 2 tries to import a Python 3 PySide2 package.
Can you confirm the scripts are correctly running through Python 3 in Resolve. I believe there's a preference in the Resolve with which you can set the default python version - can you confirm the setting is set to Python 3? :)
Another workaround to avoid the setting to be required to be set to Python 3 is to change the OpenPype menu scripts extension to
.py3instead of.py- it'll force Resolve and Fusion to load it with Python 3.By the way, you can confirm this suspicion by doing the following in the Py3 tab in the Console:
from PySide2 import QtWidgetsIf that does work I'm pretty sure Resolve is trying to run the OpenPype menu through a Python 2 interpreter instead.
@BigRoy I've renamed "OpenPype__Menu.py" to "OpenPype__Menu.py3" but nothing changed, plus QtWidgets could not be imported
Hey @aramadan0096 what is the state of this issue. Did you managed to solve it yourself or it persists? Can we close the issue?
@jakubjezek001 I'm really sorry for late response, I was just unable to access github... but my issue didn't solved yet. thanks for your understanding
When I tried to run reslove individually without OP I got this problem
