Well, I have download the exact version 2.6.1 for amd64 and I am still getting the same error. The PYTHONPATH is supossed to be C:\Program Files\Autodesk \Maya2010\Python\Lib\site-packages right? I am pretty sure I did the instalation ok.Not sure what is happening.Maybe it has something to do with vista service pack2?? I am pretty new at python,so I can´t tell I made some newbie mistake or if it is some incompatibility... Could you explain me how to setup idle to use mayapy.Does that mean that I will be using maya´s python interpreter inside of the idle?
R On 14 oct, 17:40, Paul Molodowitch <[email protected]> wrote: > If you are using a 32-bit python, then that is DEFINITELY a problem. > I made the same silly mistake at one point. =) > > However, as Chad points out, you should also use the same version > number as maya (2.6.1) - while using a different one MAY seem to start > up ok, you could get random errors / incompatibilities / > inconsistencies that crop up. > > And you should indeed be getting the amd64 version > (http://www.python.org/ftp/python/2.6.1/python-2.6.1.amd64.msi) - > unless you're one of the 6 people out there who still uses an Itanium > processor. =) > > - Paul > > > > On Wed, Oct 14, 2009 at 7:30 AM, Chad Dombrova <[email protected]> wrote: > > > On Oct 14, 2009, at 5:49 AM, rudi wrote: > > >> Hi, > >> I don´t have any problem using pymel with maya´s python interpreter.I > >> run into that error when I am > >> using IDLE.I installed everything as I did with previous version > >> following the docs.Previously I used maya 2009 and python 2.5 with xp > >> 64 bits,and everything was OK. > >> So the problem must be like Paul said,that I am using a 32 bit python > >> or what you said. > >> mayapy is version 2.6.1,but when I tryed to download this python > >> version it redirected me to the 2.6.3 version.Should I have exactle > >> version 2.6.1?? > >> Thanks for the quick replys.I´ll try again when I get home. > > >> R > > > yes, you ned the exact same version. sometimes even down to the build > > number. and it needs to be the same bitness. > > > here's what's available:http://www.python.org/ftp/python/2.6.1/ > > > not sure if the amd64 will work for you. your best bet is probably to > > try to setup idle to use mayapy. > > >> On 14 oct, 01:58, chadrik <[email protected]> wrote: > >>> 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.- Ocultar texto de la cita - > > >>> - Mostrar texto de la cita -- Ocultar texto de la cita - > > - Mostrar texto de la cita - --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
