Hi, I really want to work with IDLE.As I said before I used IDLE when I worked with pymel 2.5 and maya 2009.I made almost 20 scripts with IDLE (I just started learning python 2 months ago) and it was great. Any way,I´ll keep trying to set it right. I just don´t understand what is that directory
"C:\buildforge\Maya_2010_Win64_Build\build\wrk\optim\runTime \Python\Lib\site-packages\maya\OpenMaya.py By the way,this is the sys.path I have.Maybe you can see something missing... ['C:\\Python26\\Lib\\idlelib', 'C:\\Python26\\lib\\site-packages\ \setuptools-0.6c9-py2.6.egg', 'C:\\Python26\\lib\\site-packages\ \pymel-0.9.2-py2.6.egg', 'C:\\Python26\\lib\\site-packages\ \ipython-0.10-py2.6.egg', 'C:\\Python26\\lib\\site-packages\\ply-3.3- py2.6.egg', 'C:\\Python26\\lib\\site-packages\\beautifulsoup-3.1.0.1- py2.6.egg', 'C:\\Program Files\\Autodesk\\Maya2010\\Python\\Lib\\site- packages', 'C:\\Windows\\system32\\python26.zip', 'C:\\Python26\ \DLLs', 'C:\\Python26\\lib', 'C:\\Python26\\lib\\plat-win', 'C:\ \Python26\\lib\\lib-tk', 'C:\\Python26', 'C:\\Python26\\lib\\site- packages'] R On 15 oct, 05:00, Chad Dombrova <[email protected]> wrote: > i believe there was a previous thread on this list about setting up > idle to work with maya.cmds and pymel, though i'm not sure what the > outcome was. i recommended that they try out eclipse instead, and to > use the instructions in the pymel docs to set it up and i think that > largely ended the idle talk. (no pun intended). > > -chad > > On Oct 14, 2009, at 12:56 PM, rudi wrote: > > > > > > > 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 -- Ocultar texto de la cita - > > - Mostrar texto de la cita - --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
