Both SkinMagic and SpringMagic now got Py3 version, for Maya 2022 and newer Maya version
because Pymel not a default module in new Maya anymore, so if you met error like:
# Error: ModuleNotFoundError: file C:\Users/Administrator/Documents/maya/2023/zh_CN/scripts\springmagic\ui.py line 9: No module named ‘pymel’
Plz follow the instructions here
https://forums.autodesk.com/t5/maya-programming/maya-2022-pymel-how-to-import/td-p/10409310
Plz comment in tools page if any question
Thanks!
Yanbin
Hey, fello animator from Italy here!
Your springMagic rocks!
I’m trying it on maya 2027.2 (pymel version 1.5.0) but whenever I launch it as described in the HowToInstall.txt file, i get this error:
# Error: AttributeError: file E:\Programmi\Autodesk\Maya2027\Python\Lib\site-packages\pymel\internal\plogging.py line 148: module ‘logging’ has no attribute ‘_acquireLock’
are you able to give me a workaround or solution? That would be great, thanks.
To be honest, I’m not entirely sure, and I don’t have Maya 2027.2 available for further testing. However, judging from the error log, it is very likely an incompatibility introduced by PyMEL changes in the newer Maya release.
My suggestions are:
1. Fall back to an older, proven Maya version.
2. Use an AI tool to assist in debugging by feeding it the SpringMagic source code alongside the Maya traceback/error logs to let it analyze and attempt a fix.
我也是这个情况
# 错误: ModuleNotFoundError: file C:/Users/Administrator/Documents/maya/scripts\springmagic\ui.py line 14: No module named ‘pymel’ #
而后,并不能找到“ powershell”这个文件名。
powershell 是 windows 自带功能,在文件夹空白处按 shift + 鼠标右键,即可在菜单中看到
如有进一步问题,建议找个 AI 问问
来膜拜一下~
老师安装不上,运行完了是这样
exec(open(r’C:\Users\hp\Documents\maya\scripts\skinMagic\skinMagic.py’).read())
# pymel.internal.apicache : Rebuilding the API Caches…
modelingToolkit
# cgfxShader 4.5 for Maya 202502.0 (Jul 12 2024)
# AbcBullet v1.0 using Alembic 1.8.5 (built Jul 12 2024 10:39:11)
updateRenderOverride;
updateRendererUI;
+++++++ Turtle for Maya registered successfully ++++++
# 警告: No initializePlugin() function
# 错误: (precompTemplate)
# 错误: OSError: file D:\Maya\Maya2025\Python\Lib\site-packages\pymel\internal\parsers.py line 801: Cannot find maya documentation. Expected to find it at D:\Maya\Maya2025\docs\Maya2025\en_US
updateRendererUI;
skinMagic和springmagic 都是PY3版本,maya2023报错: exec(open(r’C:\Users\Administrator\Documents\maya\scripts\skinMagic\skinMagic.py’).read())
# 错误: unexpected indent
重装了”pymel>=1.2.0,<1.3.0"这个,还是不行,之前还有个错误是这个:# 错误: OSError: file C:\Program Files\Autodesk\Maya2023\Python\lib\site-packages\pymel\internal\parsers.py line 790: Cannot find maya documentation. Expected to find it at C:\Program Files\Autodesk\Maya2023\docs\Maya2023\en_US
// 错误: 解算器类型无效:“简单”。救一下呀,完全离不开这个插件
芜湖,把AI问冒烟了才解决了,绕了很大一圈,结果pip install –upgrade pymel
升级到1.5.0,完美解决
安装提示这个错误怎么解决# Error: ModuleNotFoundError: file C:\Users/liexingshidai/Documents/maya/2024/scripts\springmagic\ui.py line 5: No module named ‘urllib2’
请确认你使用的是 py3 版本
你好,SkinMagicPY3版本出现了平滑无法使用得问题。
已经解决了,谢谢
是因为没有选择点么?
不是,因为2022后面的maya版本选择了最大骨骼权重控制数是1,后面需要自己修改成5
Thank you so much for updating the script on PY3!
I have 2 problems with the new version:
1) It’s not possible to export and import weights via “vertex weight data”, it gives an error – # Error: AttributeError: file line 2935: Can’t pickle local object ‘prepareExprotVertexData..’ OR # Error: TypeError: file line 3060: ‘dict_keys’ object is not subscriptable
2) While the script is running, it is not possible to take a step back using Ctrl-Z. I have to turn-off the script for it to work
i fixed import & export skin weight issue, just re-download py3 version to confirm
the undo issue is a bit more work, will not solve in short term
thx for the reporting
你好老师,和上面遇到一样的问题运行代码的时候提示:# Error: ModuleNotFoundError: file D:\sheji\maya\2022\Maya2022\Python37\lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py line 142: No module named ‘springmagic’,希望老师解答疑惑,万分感谢。
你好老师,安装2022后,按照上述步骤一一操作还是提示:# 错误: RuntimeError: file C:\Program Files\Autodesk\Maya2022\Python37\lib\site-packages\pymel\internal\pmcmds.py line 217: 找不到文件“C:/Users/Administrator/Documents\Documents\maya\scripts\skinMagic\skinMagic.ui”。 # ,希望老师解答疑惑,万分感谢。
我也遇到这个问题
“C:/Users/Administrator/Documents\Documents\maya\scripts\skinMagic\skinMagic.ui”
这个路径看着不太对,比如中间有两个 Documents\Documents