Hi,
I've noticed that whenever I restart Maya, all my entries in the "External Code" tab are gone.
Is there any way to fix this?
Thank you a lot for your help!
Enrico
Moderator: louisVottero
This will do a better job at making sure python packages are available to code run in Vetala than External Code does.Adding items to your Python path
To add items to your path in Python, do one of the following:
Set PYTHONPATH in your Maya.env file, or in your environment before you run Maya
Append to sys.path in your userSetup.py or other script once Maya is running.
Here is an example of appending sys.path
import sys sys.path.append( '/Users/jdoe/maya/Scripts' )
Note: userSetup.py must be located in the initial python path ( sys.path) in order to be run automatically at startup. The default Python path can be added to by setting the environment variable PYTHONPATH.