gameboy12615 / MMD4Maya

Import pmx/pmd model to maya.
158 stars 33 forks source link

Cannot Check "Loaded" box in Plug-In Manager #3

Open SemaiNiwashi opened 6 years ago

SemaiNiwashi commented 6 years ago

I am using Maya 2018. Does this work with 2018? Because I am having an issue. I installed the plugin as per instructions, putting the one file and the one folder into the plus-ins folder of Maya. When I open the plugin manager in Maya, I do see "MMD4Maya.py" in the list. But, I cannot check the "Loaded" box in Plug-In Manager to load the plugin. Maya immediately unckecks the box and throws the following error:

// Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: ImportError: file C:/Program Files/Autodesk/Maya2018/bin/plug-ins\MMD4Maya\Scripts\UI\ExplorerWindow.py line 1: No module named PySide //

And When I click the checkbox again, it only throws these errors every time: // Warning: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: Failed to run file: C:/Program Files/Autodesk/Maya2018/bin/plug-ins/MMD4Maya.py // // Error: file: C:/Program Files/Autodesk/Maya2018/scripts/others/pluginWin.mel line 290: (MMD4Maya) //

Do you know why this is? Is this plugin broken? Thank you and please help.

EDIT: I also tried this in Maya 2017, and got a problem at the same point - when I try to check the checkbox, it gives the following errors:

// Error: line 1: ImportError: file C:/Program Files/Autodesk/Maya2017/bin/plug-ins\MMD4Maya\Scripts\UI\ExplorerWindow.py line 1: No module named PySide // // Warning: line 1: Failed to run file: C:/Program Files/Autodesk/Maya2017/bin/plug-ins/MMD4Maya.py // // Error: line 1: (MMD4Maya) //

Any help is appreciated.

uilyam commented 6 years ago

@SemaiNiwashi So, it appears this has to do with a change in Maya 2017 that upgraded some dependencies. The "No module named PySide" is because they have upgraded to PySide2. I have tried changing out the code in:

However, it is not a quick fix and I don't have it working yet. Here is a medium article talking about it:

https://medium.com/@nicholasRodgers/handling-legacy-tools-in-maya-2017-pyside2-baa53e48d5a2

NilNavaeii commented 4 years ago

My problem is Facial expression is not in Maya file

yfantehnial commented 2 years ago

same problem with maya2022