The following error message occurs when executing a test script:
R: ImportError: No module named site
Squish source build without Python¶
This typically occurs with Squish source builds that have Python configured.
Either set the environment variable
PYTHONHOME to the path of the Python libraries, or add an entry similar to this:
Scripting/PythonHome = "C:\Python27"
in the file
SQUISHDIR/etc/paths.ini. Of course, you must put the correct path for your Python installation there.
Python related environment variables¶
This problem can also occur if the
PYTHONHOME variable points to a different Python installation than the one used by Squish.
PYTHONHOME environment variable before starting the Squish IDE (or the