Undefined variable “py” or class “py.model.Message”.
With the addition of python routines in Imatest 5.0, several components require a working python installation. When some installation problems occur, the user may encounter the error message:
Undefined variable “py” or class “py.model.Message”.
This is generally caused by Imatest being unable to locate the correct python interpreter, or python failing to install properly.
Solution 1:
Make sure the python interpreter was installed properly and that you have permissions to access it. It should install to:
C:\Program Files\Imatest\v5.0\Master\bin\python35
Solution 2:
Some customers get this error when they try to run python:
To resolve, Reinstall the Visual Studio C++ 2013 redistributable, this is in the Imatest installer or you can install it directly from Microsoft: VS 2013