You mean this is an error you get when trying to import pymel from a
normal python interpreter?

If this is the case, I would suggest using mayapy as your interpreter instead.

However, if you need to be able to import pymel into a normal python
interpreter.. my first question is - is your python installation 32 or
64 bits?  If it's 32, and your maya install is 64, it won't be able to
load the maya libraries.

- Paul

On Tue, Oct 13, 2009 at 1:03 PM, rudi <[email protected]> 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to