/
Undefined variable “py” or class “py.model.Message”.

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

Edit

Related content

Error Messsage: “Import Error: No module named imatest.it”
Error Messsage: “Import Error: No module named imatest.it”
More like this
Service file is not current version or does not have sufficient privileges
Service file is not current version or does not have sufficient privileges
More like this
Error Message: “An unhandled exception of type ‘System.BadImageFormatException'”
Error Message: “An unhandled exception of type ‘System.BadImageFormatException'”
More like this
Imatest does not start, unable to read MAT-file
Imatest does not start, unable to read MAT-file
More like this
Error Message: “[module] not registered – Run the License Manager to activate your license or trial”
Error Message: “[module] not registered – Run the License Manager to activate your license or trial”
More like this
Problem Starting Imatest after Installation
Problem Starting Imatest after Installation
More like this