if you want to use an external python interpreter to import pymel or the maya package, you must use the same exact version as comes with maya, in your case 2.6.1. however, i don't recommend it. use mayapy.exe instead and set it up as it recommends in the docs.
-chad On Oct 13, 2009, at 1:03 PM, rudi wrote: > > Hi,I need some help with pymel instalation > I just installed vista 64bits (sp2),maya 2010 64 bits ,python > 2.6.3,and pymel 0.9.2.I am getting that when I try to import pymel > My environment variable PYTHONPATH is C:\Program Files\Autodesk > \Maya2010\Python\Lib\site-packages > and MAYA_LOCATION is C:\Program Files\Autodesk\Maya2010 > Isn´t that rigth? > Thx > > > Traceback (most recent call last): > File "<pyshell#0>", line 1, in <module> > import pymel > File "C:\Python26\lib\site-packages\pymel-0.9.2-py2.6.egg\pymel > \__init__.py", line 1468, in <module> > import mayahook > File "C:\Python26\lib\site-packages\pymel-0.9.2-py2.6.egg\pymel > \mayahook\__init__.py", line 5, in <module> > from mayautils import * > File "C:\Python26\lib\site-packages\pymel-0.9.2-py2.6.egg\pymel > \mayahook\mayautils.py", line 8, in <module> > import plogging > File "C:\Python26\lib\site-packages\pymel-0.9.2-py2.6.egg\pymel > \mayahook\plogging.py", line 3, in <module> > from maya.OpenMaya import MGlobal, MEventMessage, MMessage > File "C:\buildforge\Maya_2010_Win64_Build\build\wrk\optim\runTime > \Python\Lib\site-packages\maya\OpenMaya.py", line 7, in <module> > ImportError: DLL load failed: No se puede encontrar el módulo > especificado. > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
