How Can I Configure TestStand to Work with Python from Anaconda?

Updated Sep 10, 2019

Reported In

Software

  • TestStand

Issue Details

I would like to use Python from a package manager like Anaconda. How can I do this?

Solution

Since Anaconda stores the Python environment in a different location than an original distribution, the PATH environment variable will need to be configured. You will need to add the path to Python and scripts folder from the installation you want to use. If you installed Anacoda with Python 3.7 for your user, then you will need to add the following two paths to the PATH environment variable:

C:\Users\<Username>\AppData\Local\Continuum\anaconda3
C:\Users\<Username>\AppData\Local\Continuum\anaconda3\Scripts


You can follow the KnowledgeBase article Editing the PATH Environment Variable for TestStand’s Python Adapter to do this. You will need to close out of TestStand and the TestStand Version Selector for the Python version to appear in the Python Adapter configuration window.