How to set up PYTHONPATH on Windows?Up to table of contents
This FAQ applies to: 1.4.5
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.