"ImportError No module named ..."

Last edited on

Symptoms

In Squish running on Windows, a Python script might give an error message “ImportError: No module named ….”

Solution

The binary Squish for Windows package includes a stripped-down copy of the Python standard library, so some modules are missing. If you need to use one of the missing modules the easiest solution is to download a standard edition of Python from http://www.python.org/download/ (which will have the complete standard library), and then configure Squish to use the downloaded Python edition. See Changing the Python installation used by Squish binary packages.