Brennan Chapman
unread,May 25, 2014, 12:05:04 PM5/25/14Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to python_in...@googlegroups.com
I’m having some trouble with mayapy not loading the PYTHONPATH.
When using Maya’s GUI, the PYTHONPATH is set when a maya module file is loaded.
By default, if a module path contains a folder titled ‘scripts’, it will be added to the PYTHONPATH.
However, this is not the case when using mayapy. I’ve tried this on mac, windows and linux.
I’m facing problems with arnold not being able to load properly because the PYTHONPATH doesn’t not contain arnolds ‘scripts’ folder.
I know I can manually set the PYTHONPATH, but I'm hoping there is a simple solution that would allow maya to automatically populate it just as it does when loading the GUI.
Any ideas?
Thanks,
Brennan