Maya automatically appends PTYHONPATH to sys.path

PYTHONPATH should be defined in the Maya.env file (ie. ..\Documents
\maya\2009\Maya.env)

inside of Maya.env you would have something like PYTHONPATH=C:\Users
\scott\Documents\python

*Warning: an OS environment variable PYTHONPATH will override the one
in Maya.env. I had to find this out the hard way

Hope this helps.
-Scott
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/python_inside_maya
-~----------~----~----~----~------~----~------~--~---

Reply via email to