NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot importing Python libraries when calling scripts with "Python Custom Steps for Test Stand"

I'm using TestStand 2016 32-bit. I've downloaded "Python Custom Steps for Test Stand" and installed Python 3.6.3 32-bit. I made a simple simple script that returns a string with 'Hello World' so I know it basically works. Now I'm trying to do something more advanced and am running into problems. Script attached.

 

When I select the script I'm trying to run, I get an error that says "No module named NumPy." I've tried removing the import and the next import line throws the same error. 

The NI page on running the example for passing data between Python and TestStand says NumPy installation is required, but I can't find a NumPy installer becuae its included with the Python install.(https://www.ni.com/docs/en-US/bundle/teststand/page/tsexamples/infotopics/demo_python_passdata.html)

 

How do I import Python libraries when running Python scripts with TestStand?

 

Thanks!

0 Kudos
Message 1 of 1
(717 Views)