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 -- You received this message because you are subscribed to the Google Groups "Python Programming for Autodesk Maya" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/python_inside_maya/7A8C167D-D50E-43DB-B624-8582851B7188%40moonbotstudios.com. For more options, visit https://groups.google.com/d/optout.
