11-01-2023 06:15 AM
Hi
I'm Trying to test out python integration in TestStand 2023 Q4 64-bit and i keep having to re specify the path to my python.exe in the adapter settings.
For some reason my PATH environment variable isn't working but since we use a lot of different python envs in our production I'd rather use a direct path to the python.exe of the env im using. But each time i open the program or sometimes when i open a new file i get the following error.
My current fix has been to go into my adapter setting and navigate to the python.exe again and select it. This fixes it but id like to not have to do it in the first place. Any ideas?
Thanks in advance
- Malte
11-09-2023 05:25 AM
Quick bump in hopes that i can get more eyes on this.
07-09-2024 03:58 AM - edited 07-09-2024 04:01 AM
Hi , any solution ?
how can i add a path to the sequence using python , i was able to add the name of the sequence and the description and not the path and parameters .
07-10-2024 12:26 AM
As of TestStand 2023 Q4, it creates a Python session by embedding Python interpreter and does not use python.exe. TestStand searches for required modules so that it can embed a Python interpreter session and hence ensuring PATH environment is kind of mandatory.
Path to python.exe you specify in adapter settings is only used in during debugging (when you use step-into after breaking at Python step) and is not used for creating a Python session.
Please ensure that your PATH environment variable is updated so that TestStand can create required Python sessions.
-Shashidhar