|
Hello folks,
I’m having some problem with using maya.standalone module with python.
My environment is Maya2008 64bit on windows vista 64bit.
I got a copy of 64bit build of python which I believe I downloaded from python.org, but interpreter seems to be working quite alright.
So naturally, I thought it would work like it did on 32bit machine.
What I get in my attempt is a blank error dialogue with “ok” and “cancel”.
When I hit OK, it takes me to tree view dialogue to select folder with no specific info.
And when I either select random folder or hit cancel, it would give me an alert dialogue with “Yes” and “No”.
following is example code that I tried.
import sys
import os
sys.path.append( 'C:\\Program Files\\Autodesk\\Maya2008\\Python\\Lib\\site-packages' ) import maya.standalone
maya.standalone.initialize( name='python' ) import maya.cmds as mc
mc.polyCube()
any help would be appreciate it.
It may be the python interpreter being not compiled right, but hence there are seems to be no “official” 64bit python, if anyone can point me to some other build that works, that would be cool too.
Thanks
|
|
|