Error 1671 Occurred at Open Python Session in LabVIEW

Updated Aug 3, 2023

Reported In


  • LabVIEW

Issue Details

I installed Python onto my system using the Anaconda distribution platform, when I use the Open Python Session Function in LabVIEW, I receive the following error message:

Error 1671 occurred at Open Python Session in [filename]
Possible reason(s):
LabVIEW: (Hex 0x687) There was an error in executing the specified function.

Python returned the following error: Error creating host process

The error message should look similar to the one below:
error 1671.png


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 the way the environment wraps the Python interpreter, making LabVIEW unable to find the interpreter installation and unable to 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.

Additional Information

Anaconda is a distribution of the Python and R programming languages for scientific computing that comes with open-source packages installed and aims to simplify package management and deployment.