On Windows, you are getting one of the following errors while trying to load a Python module in a Squish test script written in Python:
ImportError: DLL load failed: The specified module could not be found.
ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden.
This is known to be caused by
<SQUISH_DIR>\lib\_squishrunner.exe being compiled with a different compiler (or compiler version) than the binary file that the respective Python module consists of.
The only known solution to this is to add a manifest which specifies the runtime of the Python module’s binary file to the file
For example, if the module’s binary (e.g.
C:\Python27\Lib\site-packages\pyodbc.pyd for the
pyodbc module) was compiled with MSVC9 (you can check this with
Analyzing dependencies with Dependency Walker
), then a manifest similar to the following may have to be added to
Adding/setting manifests is explained in Manifests .