Nathaniela
02-12-2007, 02:10 AM
I'm ripped and ready to get started on some scripted plugins, but sadly I can't even get passed the first step. In short I can't successfully access the maya modules. I've tried using the mayapy.exe as well as my standalone install of python. I can import packages like maya.cmds or maya.app, but I can't import maya.openMaya or the other libs. I get an error saying the dll can't be found. Well, the exact code is:
Traceback (most recent call last):
File "C:\Programs\PROGRAMMING\Python24\test", line 1, in -toplevel-
import maya.OpenMaya
File "C:\engserv\rbuild\164\build\wrk\optim\runTime\Python\Lib\site-packages\maya\OpenMaya.py", line 4, in -toplevel-
ImportError: DLL load failed: The specified module could not be found.
My only guess to the above code is that the openMaya.py file was originally compiled from this location, so it's trying to tell me to check out line 4 of this file. If I could only get to autodesks network :)
What's the magic I'm missing to get the modules loaded properly? It seems that the pyc files want to reference the c++ dlls, but I don't know where to set that up.
Thanks,
Nathaniel
Traceback (most recent call last):
File "C:\Programs\PROGRAMMING\Python24\test", line 1, in -toplevel-
import maya.OpenMaya
File "C:\engserv\rbuild\164\build\wrk\optim\runTime\Python\Lib\site-packages\maya\OpenMaya.py", line 4, in -toplevel-
ImportError: DLL load failed: The specified module could not be found.
My only guess to the above code is that the openMaya.py file was originally compiled from this location, so it's trying to tell me to check out line 4 of this file. If I could only get to autodesks network :)
What's the magic I'm missing to get the modules loaded properly? It seems that the pyc files want to reference the c++ dlls, but I don't know where to set that up.
Thanks,
Nathaniel
