Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: No module named 'PySide2' #203

Closed
dx0x58 opened this issue Jun 23, 2024 · 4 comments
Closed

[BUG]: No module named 'PySide2' #203

dx0x58 opened this issue Jun 23, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@dx0x58
Copy link

dx0x58 commented Jun 23, 2024

Description of the bug

Hi! I cannot install gt-tools in Maya 2025.1; I got an error after dragging the script into the viewport.

# Error: ModuleNotFoundError: file D:\D_Downloads/gt-tools-3.3.1/gt-tools-3.3.1\gt\ui\progress_bar.py line 1: No module named 'PySide2'

It looks like that in Maya 2025, PySide dependency was upgraded from 2 to 6 version:

image

More about it: https://help.autodesk.com/view/MAYADEV/2025/ENU/?guid=Qt6Migration

Steps To Reproduce

  1. Drag script into the viewport and check console log

Additional Information

No response

@dx0x58 dx0x58 added the bug Something isn't working label Jun 23, 2024
@TrevisanGMW
Copy link
Owner

Hey @dx0x58, thanks for pointing that out.
Yes, I'll need to update the way it imports PySide to make it compatible with Maya 2025. Thanks for adding all this info here 👍

@Polarcosine
Copy link

By any chance do you know when you might be able to make it compatible, I love this plugin and would love to use it with the newest version.

@TrevisanGMW
Copy link
Owner

Hey @Polarcosine thanks for showing interest.
I've been quite busy with my day job lately, but I'll likely have some time soon to work on making it compatible with the newest version. I appreciate your patience!
This might happen maybe next month or so. 👍

@TrevisanGMW
Copy link
Owner

Hey @dx0x58 and @Polarcosine, I've updated the package (v3.4.0)
It's now compatible with PySide2 and PySide6, I tested it on Maya 2023, 2024, and 2025 without issues.
Due to the big pattern change, you might have to update it using the installer instead of the updater tool. Let me know if you guys run into any errors 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants