Solution
This error occurs when LabVIEW is not able to find the Python Interpreter. Using an intermediate platform such as Anaconda or having a mismatch of bitnesses between LabVIEW and Python could be the root cause of the issue. Follow the next recommendations depending on your case:
Using Anaconda or another Platform
If you are using LabVIEW 2018 through 2022 Q3 LabVIEW cannot communicate with Python installed within the Anaconda environment using the Python node. This is due to how the environment wraps the Python interpreter, making LabVIEW unable to find the interpreter installation and make the necessary calls.
If you are using LabVIEW 2023 Q1 or later you need to use the Open Virtual Environment Session VI to call Python installed with a virtual environment.
Mismatch of LabVIEW and Python Bitnesses
LabVIEW and Python interpreter must match for Python scripts to be called properly. Make sure to install the same bitness of a
compatible Python version.