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

Issues running with Maya 2023 (is Python 3x supported?) #11

Open
DaveDubUK opened this issue Sep 20, 2022 · 2 comments
Open

Issues running with Maya 2023 (is Python 3x supported?) #11

DaveDubUK opened this issue Sep 20, 2022 · 2 comments

Comments

@DaveDubUK
Copy link

I just updated to Maya 2023 from Maya 2020.
glTools worked fine in Maya 2020
When I try to run my script in Maya 2023, I get the following error:

Error: ModuleNotFoundError: file C:\Program Files\Autodesk\Maya2023\Python\lib\site-packages\glTools\utils_init_.py line 1: No module named 'component'

component.py is present in location C:\Program Files\Autodesk\Maya2023\Python\Lib\site-packages\glTools\utils

AFAIK, Maya 2020 uses Python 2 and Maya 2023 uses Python 3. Is Python 3 supported?

@bungnoid
Copy link
Owner

Hi. Yes, you're right about the python version support between the various versions of Maya.
The switch from Python 2 to 3 can often require some not insignificant refactoring. I have not personally done anything with this repo to provide support for Python 3, and the fact you're getting errors does not surprise me.
Perhaps not the answer you were hoping for, but I can at least confirm what you;re seeing is expected.

@DaveDubUK
Copy link
Author

Hi, Ok, thank you for the confirmation. Are there any plans to update to Python 3 at any point?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants