Hi,
Disclaimer: I don’t code. Can’t read it either.
I’m trying to add a post script to import the skin pack.
I followed how Miguel is doing it on the YouTube workshop, except that I didn’t define environment and am working from a local path. That’s not the issue.
This is the error I’m getting:
// EXEC: Executing custom step: D:/PROJECTS/My_Baby/My_Baby_Maya/scripts/post/import_skinPack.py
// Error: An exception of type ImportError occured. //
// Error: Traceback (most recent call last):
File “C:\Users\tsahi\Documents\maya\mgear_3.1.1\scripts\mgear\shifter\guide.py”, line 1155, in runStep
customStep = imp.load_source(fileName, runPath)
File “D:/PROJECTS/My_Baby/My_Baby_Maya/scripts/post/import_skinPack.py”, line 3, in
from mgear.maya import skin
ImportError: No module named maya
//
So it seems it doesn’t recognize a module named maya?!
Can anyone help with this?
This is the script itself:
my clumsy import skin pack post script
Thank you and bless you with unbreakable rigs forever.
Tsahi