MOPS icon indicating copy to clipboard operation
MOPS copied to clipboard

PySide2 ModuleNotFoundError

Open ChrisFasching opened this issue 4 months ago • 1 comments

Description: On Houdini 21.0.440 (macOS 15.6.1), creating a MOPS Align node fails because mops_tools.py imports PySide2, which is no longer shipped with Houdini. Houdini 21 bundles PySide6 instead.

Error Traceback:

Traceback (most recent call last): File "MOPS::Sop/Align::1.2, opdef:/MOPS::Sop/Align::1.2?OnCreated, node /obj/geo1/Align1", line 12, in File "/Volumes/Data/HoudiniPackages/MOPS/scripts/python/mops_tools.py", line 10, in from PySide2 import QtCore, QtWebEngineWidgets, QtWidgets ModuleNotFoundError: No module named 'PySide2'

Steps to Reproduce:

Launch Houdini 21.0.440 on macOS.

Create a Geometry node. Add a Fong SOP. Add Extrude SOP. Add MOPS convert SOP.

Add a MOPS Align SOP.

Error occurs immediately.

Houdini raises ModuleNotFoundError due to missing PySide2.

Environment:

Houdini: 21.0.440

OS: macOS 15.6.1 (24G90)

MOPS: 1.10.0

ChrisFasching avatar Oct 03 '25 11:10 ChrisFasching