I'm trying to import some custom modules when Maya loads, but it seems
to keep maya from loading.
At first I tried adding a few lines to userSetup.py
import sys
sys.path.append('C:/PRODUCTION/SCRIPTS/python')
I then tried
PYTHONPATH = C:\PRODUCTION\SCRIPTS\python;
as a environmental variable in Windows 7 as well as a variable in my
Maya.env file.
No matter which way, Maya doesn't finish loading (or start loading,
really) and I wind up killing it.
I tried each method one at a time. I haven't hard any problems with
using custom paths for MEL scripts, or using environment variables to
use python interactively. When i run the two lines of python, I can
then load my modules as expected.
Any thoughts?
Thanks,
Kevin
--
http://groups.google.com/group/python_inside_maya