Skip to content

Qt binding related ImportError encountered when using fossil script commands in 2025.3.1 #28

@BenFreedman

Description

@BenFreedman
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)

Looks like Maya swapped from PySide2 to PySide6 in 2025:


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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions