Running an error in maya2020-------TOOLS\utils\UI.py line 5: cannot import name GeneralWindow # #39
-
Running an error in maya2020 错误: ImportError: file C:/Users/17893/Documents/maya/2020/zh_CN/scripts/TOOLS\utils\UI.py line 5: cannot import name GeneralWindow |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 2 replies
-
Hi. Did you try to run in on Maya 2023 or higher? I didn't test in on previous versions before 2023. I think, I should do it later, but not sure how many changes autodesk did with api |
Beta Was this translation helpful? Give feedback.
-
And did you download all files from repository and they placed inside proper folders? In my plugin you can't use scripts separate from other utils and modules, only all together with strict folder hierarchy. Just curious 😅 Looks like I still need to download 2020 maya version |
Beta Was this translation helpful? Give feedback.
-
@zhai23 check new 0.0.8 version. Probably it can fix your problem. I did some namespace fixes for package isolation to avoid any intersections with other scripts which could cause code conflicts. Still not tested on your version, plan to do it later |
Beta Was this translation helpful? Give feedback.
-
So, i tried to run getools on different maya versions, 2020-2022-2023-2024 So, I'm not sure, how to fix it fast, need investigate each module and find some logic what can't run on old maya. |
Beta Was this translation helpful? Give feedback.
-
So, finally I found a source of issue. Looks like I fixed it and it works well on 2020 version. Problem was in some cross dependencies. New maya versions have no critical problems with it, but old maya versions have something like block for potential circular cross imports. Fix will be available on v0.0.9 |
Beta Was this translation helpful? Give feedback.
So, finally I found a source of issue. Looks like I fixed it and it works well on 2020 version. Problem was in some cross dependencies. New maya versions have no critical problems with it, but old maya versions have something like block for potential circular cross imports.
Fix will be available on v0.0.9