-
Notifications
You must be signed in to change notification settings - Fork 12
Qt binding related ImportError encountered when using fossil script commands in 2025.3.1 #28
Description
import pdil.tool.fossil.main
pdil.alt.call('Rig Tool')()
# Error: ImportError: No Qt binding were found.
import pdil.tool.fossil.main
pdil.alt.call('Rig Tool')()
# Error: ImportError: file C:\Users/**<user>**/Documents/maya/scripts\pdil\vendor\Qt.py line 1719: No Qt binding were found.
Note:
Latest pip and pymel installed as of 6/20/2025
Looks like support for QT6 was added to Qt.py vendor file: (with QT6 transition guide)
- https://github.com/mottosso/Qt.py
- https://github.com/mottosso/Qt.py?tab=readme-ov-file#qt-6-transition-guide
Looks like Maya swapped from PySide2 to PySide6 in 2025:
- https://help.autodesk.com/view/MAYADEV/2025/ENU/?guid=Qt6Migration
- https://doc.qt.io/qtforpython-6/faq/porting_from2.html
Attempted local fix by:
-
Overwrote Qt.py with newer version
-
Replaced PySide2 mentions with PySide6 as respecitvely (probably was unnecessary given Qt.py)
-
Eventually ran into this Error and wasn't sure how to proceed:
pdil.alt.call('Rig Tool')()
# Error: AttributeError: module 'inspect' has no attribute 'getargspec'
Looks like it arises from:
C:\Users<user>\Documents\maya\scripts\pdil\tool\fossil_lib\tpose\adjusters.py (line 65)
Quick search yielded:
https://docs.python.org/3/library/inspect.html#inspect.getargspec:~:text=inspect.getfullargspec(func)
Changed in version 3.6: This method was previously documented as deprecated in favour of signature() in Python 3.5, but that decision has been reversed in order to restore a clearly supported standard interface for single-source Python 2/3 code migrating away from the legacy getargspec() API.