Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6524

Error "-17500" Using Python and TestStand

$
0
0

Hi,

 

I'm currently using the TestStand 2019 trial to evaluate if it suits the needs of our company. One critical aspect is compatibility with our existing Python code frameworks.

 

We are using an up-to-date Anaconda3 environment with Python 3.7. Everything is running 64 bit, and the TestStand adapter is configured and sees Python 3.7. When I try to run the "Computer Motherboard Test Sequence" demo for Python, I get following analysis error:

Message     : Unable to load the the Python module.Error creating host process
File        : C:\Users\Public\Documents\National Instruments\TestStand 2019 (64-bit)\Examples\Demos\Computer Motherboard Test\Python\Computer Motherboard Test Sequence.seq
Location    : Seq["MainSequence"].Setup["Initialize Computer Test"].TS.SData.PythonCall.ModulePath
Rule        : Code modules must be able to load
Description : TestStand must be able to load all code modules without error. TestStand reports errors at run time when it
cannot load a code module.  Correct this problem by editing the step in the sequence editor.

Occasionally it also shows error 17500, as described in this support article.

 

I'm somewhat stuck here. Changing Python version does not solve the issue, nor does manually creating a virtualenv environment and linking that to the adapter. The Anaconda folder is referenced by PATH, so that's not the issue either. If we just install the barebones Python 3.7.4 to the test-PC instead of our Anaconda environment, everything works fine and the demo runs without issue.

 

Are we missing some basic step somewhere or is Anaconda3 simply not supported? Please assist.


Viewing all articles
Browse latest Browse all 6524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>