Invalid Python Version on TestStand in Configure Python Step

Updated Jul 2, 2019

Reported In

Software

  • TestStand
  • Python Step Types for TestStand

Issue Details

I have just installed the Python Step Types for TestStand.
When I try to configure a Python Step, TestStand throw me the following error :

Invalid python version. Make sure required version of python is installed and added to PATH environment variable.
 

Solution

There is a specific installation procedure you should respect in order to make the Python Step Types for TestStand works :
  1. Install Python
  2. Allow Python to add new PATH environment variables
  3. Install Python Step Types for TestStand
If you forgot to add the new PATH environment variables, add them manually afterward.

Note: In order add Python to the PATH system environment variable, you need to add the directory to which your python.exe is installed.
For instance, by default Python 2.7 installs at this location:
C:\Python27\

You typically also add the Scripts directory as well: C:\Python27\Scripts.

Finally, the PATH variable associated to Python should be: