I am not sure where this is on windows, but for other systems there is a
mayapy executable. On OSX it is just a bash script that sets the proper
environment variables, and then calls the python that is bundled with maya.
If you located this file, and it is indeed a .bat file or other script on
windows, you can reference it for the proper settings to set up your own
python interpreter.


On Mon, Dec 3, 2012 at 9:45 AM, ammu0608 <[email protected]> wrote:

> Hi,
> For importing maya standalone, the python version and maya version should
> be the same. Try using sys.path.append and append your maya python path. I
> am not in front of the system. But please give a try.
>
> Thanks and Reagrds,
> Sudeepth Patinjarayi.
> On Dec 3, 2012 11:05 PM, "illunara" <[email protected]> wrote:
>
>> Hello
>> I follow some tutorial and setup env for Python by adding the pythonPath
>> and mayaLocation in Environment Variables of Window
>>
>> PYTHONPATH C:\Program Files\Autodesk\Maya2012\Python\lib\site-packages\
>> MAYA_LOCATION C:\Program Files\Autodesk\Maya2012\
>>
>> But when i run python and try to import maya.standalone, it gave me an
>> error said that the module cound not be found. I had check the sys.path
>> again to make sure it in there.
>>
>> Anything would help, thanks
>>
>> --
>> view archives: http://groups.google.com/group/python_inside_maya
>> change your subscription settings:
>> http://groups.google.com/group/python_inside_maya/subscribe
>>
>  --
> view archives: http://groups.google.com/group/python_inside_maya
> change your subscription settings:
> http://groups.google.com/group/python_inside_maya/subscribe
>

-- 
view archives: http://groups.google.com/group/python_inside_maya
change your subscription settings: 
http://groups.google.com/group/python_inside_maya/subscribe

Reply via email to