07-14-2020 02:51 PM
I updated my python version from 3.6 to 3.7, it is added to the path variable just as 3.6 was. My cmd window recognizes it, VS code recognizes it. I uninstalled the 3.6 version. Uninstalled/reinstalled teststand (2017 SP1) and attempted to uninstall/reinstall python step types (no uninstaller provided with 1.0.1) but teststand will only recognize 3.6 (even though it doesn't exist on the system anymore and has been removed from the path variable and replaced with 3.7). How to I get it to recognize the 3.7 interpreter? I get the error message that says "Invalid Python version. Make sure required version of python is installed and added to the path variable".
07-22-2020 12:48 PM - edited 07-22-2020 01:24 PM
Since you are using TestStand 2017, I don't think Python version 3.7 is supported. According to the documentation you either have to use 2.7 or 3.6
That limitation does not exist in TestStand 2019 which supports 2.7 and Python 3.6+.
The above is incorrect. I got my TestStand 2017 to work with Python 3.7.
Have you double checked python to make sure you installed the right bitness (32-bit or 64-bit)?
07-22-2020 01:34 PM
Yes, I did go to the CMD window and type python and I get "Python 3.6.4 (v3.6.4:d48eceb, Dec 19 2017, 06:54:40) [MSC v.1900 64 bit (AMD64)] on win32" reported back. Are you able to go back to 3.6 after using 3.7? My "Invalid Python version" error goes away when I select 3.7 (even though my system isn't configured for it anymore). I find that odd...
07-22-2020 02:06 PM
07-22-2020 02:14 PM
Yes, Teststand 2017 SP1 64bit. It sounds like you're seeing the behavior I would expect to see. Hmm...