houdini_2_ae for Houdini 21

   961   4   1
User Avatar
Member
21 posts
Joined: 3月 2015
オンライン
Hi everyone,

I tried to use Houdini_2_AE HDA in Houdini 21, but I get an error Pyside2:

Traceback (most recent call last):
File "Object/houdini_2_ae, PythonModule", line 3, in <module>
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.440/houdini/python3.11libs\toolutils.py", line 1903, in createModuleFromSection
return _createModule(module_name,
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\PROGRA~1/SIDEEF~1/HOUDIN~1.440/houdini/python3.11libs\toolutils.py", line 1885, in _createModule
eval(code, module_dict)
File "houdini_2_ae", line 1, in <module>
ModuleNotFoundError: No module named 'PySide2'

Does anyone know what needs to be edited or have an adjusted copy of it?
User Avatar
Member
7 posts
Joined: 3月 2025
オフライン
H21 is built around QT6, which uses Pyside6. You can either specifically instal a QT5 version of Houdini or try to replace all includes of Pyside2 with Pyside6. That's not guarantee to work as quite a few other things have also changed in QT6.
User Avatar
Member
21 posts
Joined: 3月 2015
オンライン
thanks i will try it today
User Avatar
Member
21 posts
Joined: 3月 2015
オンライン
Just to confirm that changing PySide2 to PySide6 in the HDA script works!

If someone needs an updated HDA, i can send it
User Avatar
Member
14 posts
Joined: 12月 2009
オフライン
After replacing PySide2 to PySide6, i've still this error :

Error running callback:
Traceback (most recent call last):
File "Object/houdini_2_ae/lunch_tool", line 1, in <module>
File "houdini_2_ae", line 1087, in show
File "houdini_2_ae", line 70, in __init__
AttributeError: PySide6.QtGui.QPixmap.scaledToWidth(): unsupported keyword 'transformMode'
indie 21.0.440 python 11 / windows 11
  • Quick Links