Nuke Studio 16 PySide2

Hi all,

I’m currently unable to see the Ayon menu in Nuke Studio 16, although it appears correctly in NukeX 16.

The log mentions that the module PySide2 was not found.

Has anyone encountered this issue or found a solution?

Thanks in advance!

Hello,
There was an issue reported internally where ayon launchers pyside6 was added to path. and this PR fixed it Filter launcher paths from `PATH` passed to host by antirotor · Pull Request #1261 · ynput/ayon-core · GitHub
AYON core 1.2.0 should include that fix.

I’m not sure if it fixes your issue as well.

updated to core 1.2.0 but the issue still persist.
only happens for nuke studio.

Hi, please paste here full error traceback. I think I know what might cause it, but without the error it is just guess.

It might be related to QT_API environment variable. It should be cleared from env before launch, but it might “somehow” remain set, or is set from elsewhere.

Error

[Warning][2025/05/07:19:33:59] HIERO_PLUGIN_PATH is deprecated. Please use NUKE_PATH instead.
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\SpreadsheetExport.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\SpreadsheetExport.py”, line 12, in
from PySide.QtGui import *
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\SpreadsheetExport.py”, line 15, in
from PySide2.QtGui import *
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\Startup.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api\lib.py”, line 19, in
from PySide import QtXml
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\Startup.py”, line 5, in
from ayon_hiero.api import HieroHost
File "C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api_init
.py", line 10, in
from .pipeline import (
File “C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api\pipeline.py”, line 31, in
from . import lib, menu, events
File “C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api\lib.py”, line 21, in
from PySide2 import QtXml
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\otioexporter_init_.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api\lib.py”, line 19, in
from PySide import QtXml
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 53, in loadPluginsFromFolder
module = import( packageName )
^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\otioexporter_init_.py”, line 1, in
from .OTIOExportTask import OTIOExportTask
File “C:\Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\otioexporter\OTIOExportTask.py”, line 11, in
from ayon_hiero.api.otio import hiero_export
File “C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api_init_.py”, line 10, in
from .pipeline import (
File “C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api\pipeline.py”, line 31, in
from . import lib, menu, events
File “C:\Users\User\AppData\Local\Ynput\AYON\addons\hiero_0.5.2\ayon_hiero\api\lib.py”, line 21, in
from PySide2 import QtXml
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\project_helpers.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\project_helpers.py”, line 2, in
from PySide.QtGui import *
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\project_helpers.py”, line 5, in
from PySide2.QtGui import *
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\setFrameRate.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\setFrameRate.py”, line 8, in
from PySide.QtGui import *
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\Startup\setFrameRate.py”, line 11, in
from PySide2.QtGui import *
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\PimpMySpreadsheet.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\PimpMySpreadsheet.py”, line 11, in
from PySide.QtGui import *
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\PimpMySpreadsheet.py”, line 14, in
from PySide2.QtGui import *
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\Purge.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\Purge.py”, line 12, in
from PySide.QtGui import *
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\Purge.py”, line 15, in
from PySide2.QtGui import *
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\nukeStyleKeyboardShortcuts.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\nukeStyleKeyboardShortcuts.py”, line 7, in
from PySide.QtGui import *
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\nukeStyleKeyboardShortcuts.py”, line 10, in
from PySide2.QtGui import *
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\otioimporter_init
.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 53, in loadPluginsFromFolder
module = import( packageName )
^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\otioimporter_init_.py”, line 10, in
import PySide2.QtWidgets as qw
ModuleNotFoundError: No module named ‘PySide2’
ERROR:Hiero:Plugin C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\setPosterFrame.py could not be loaded: No module named ‘PySide2’
Traceback (most recent call last):
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\setPosterFrame.py”, line 4, in
from PySide.QtGui import *
ModuleNotFoundError: No module named ‘PySide’

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “C:\Program Files\Nuke16.0v1\pythonextensions\site-packages\hiero\core\find_plugins.py”, line 42, in loadPluginsFromFolder
module = nuke_internal.loadModuleFromPath( moduleName, p )
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “C:\Program Files/Nuke16.0v1/plugins\nuke_internal\utils.py”, line 36, in loadModuleFromPath
spec.loader.exec_module(mod)
File “”, line 940, in exec_module
File “”, line 241, in _call_with_frames_removed
File “C:/Users/User/AppData/Local/Ynput/AYON/addons/hiero_0.5.2/ayon_hiero/api/startup\Python\StartupUI\setPosterFrame.py”, line 7, in
from PySide2.QtGui import *
ModuleNotFoundError: No module named ‘PySide2’

here you go