Matplotlib Compatibility Issue with TestStand 2022 64-bit

Updated Jul 26, 2024

Reported In

Software

  • TestStand

Programming Language

  • Python

Issue Details

I would like to confirm if the Python Matplotlib library can be used with the TestStand Python Adapter.
I'm using a Python Action step to call a function using the Matplotlib library for Python, the step shows the following error message: "Unable to load the the Python module.". 
Please refer to the screenshot for error detail:
 image.png
The system has TestStand 2022 64-bit and Python 3.8.8 64-bit with Matplotlib 3.8.

Solution

Yes, Teststand 2022 64-bit does support the Python Matplotlib library. 
TestStand supports virtual environments created using the virtualenv tool.
The issue can be fixed by aligning the Matplotlib library version in global environment with the virtual environment.