How to set up PYTHONPATH on Windows?
Up to table of contentsThis FAQ applies to: 1.4.5
MGLTools is not installed in Lib\site-packages folder of your Python installation and you are getting an ImportError.
If you are getting ImporError messages similar to this one
To set the PYTHONPATH variable:
ImportError: No module named Pmv, you'll need to set PYTHONPATH Environment
Variable to point to the location of MGLToolsPckgs. To set the PYTHONPATH variable:
- Go to Control Panel -> System-> Advanced.
- Click 'Environment Variables' button.
- In the 'System Variables' panel that
appears, click New and enter PYTHONPATH in the
'Variable Name' field. In the 'Variable Value' field
enter path to MGLToolsPckgs (e.g. C:\Program Files\MGLTools-1.4.5\MGLToolsPckgs).
Note that our standalone installer creates/modifies C:\Python24\Lib\sitecustomize.py to include the latest version of MGLToolsPckgs in your path.
