The following forum message was posted by bntheman at http://sourceforge.net/projects/pydev/forums/forum/293649/topic/4058123:
Ok, I think I know what. Is going on. Just as I was about to give up, I thought to myself, why couldn't I try rrunning maya standalone in Python IDLE. At first I was simply getting an import error no module named maya.standalone. I searched this error and the best answer I could find was to make sure that my system enviroment pythonpath was set to c:\program files\autodesk\maya2008\python\lib\site-packages I did that, and I still got the same import error. So I did some more searching, and one person had asked almost the same question at autodesk's forum. Although no one had replied, the person asking the question said that he tried copying the standalone.pyd file to the main site-packages folder, and it worked. So rather than copying the file, I decided to use pythonKs os module to change the current working directory like so... Import os os.chdir("c:\program files\autodesk\maya2008\python\lib\site-packages\maya") I then tried Import standalone standalone.initialize(name='python') I did not get an error, but it did not take as long to import as if I was doing this in mayapy.exe, and sure enough, when I tried importing maya.cmds the import worked, but the ls command spit out an AttributeError module object has no attribute 'ls' ...so it sounds like to me that my enviroment varaibles are being ignored, and possibly answers why I am getting all sorts of errors trying to use eclipse. If so, is there a fix for this? ------------------------------------------------------------------------------ Protect Your Site and Customers from Malware Attacks Learn about various malware tactics and how to avoid them. Understand malware threats, the impact they can have on your business, and how you can protect your company and customers by using code signing. http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ Pydev-users mailing list Pydev-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pydev-users