Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • 1
    Thanks so much! I didn't realize that PYTHONPATH was a separate environment variable that I could edit! This did exactly what I needed. Commented Sep 19, 2011 at 21:49
  • 1
    this works great for local installations where you can set environment variables. however, use the sitecustomize.py method for stand alone network-based 'installs'/deployments (see below for Cedric Julien's description). Commented Jan 10, 2012 at 1:58
  • I was getting an unhandled win32 exception for spssengine.exe when I was trying to run Python code in SPSS statistics 22 and setting PYTHONPATH to "C:\Program Files\Python27\Lib\site-packages" fixed the problem. Commented Jul 10, 2019 at 17:35
  • JYTHONPATH for jython Commented Dec 27, 2021 at 19:36