Open Venv Python Session VI
- Updated2025-07-30
- 2 minute(s) read
Opens a Python session with a specific version of Python in a venv virtual environment.

Inputs/Outputs
Env path
—
Env path specifies the directory of Venv virtual environment.
Python version
—
Python version specifies the version of Python in which the Python session runs. This function supports the following Python versions:
Although unsupported versions might work with the LabVIEW Python functions, NI recommends using supported versions of Python only.
error in (no error)
—
error in can accept error information wired from VIs previously called. Use this information to decide if any functionality should be bypassed in the event of errors from other VIs. Right-click the error in control on the front panel and select Explain Error or Explain Warning from the shortcut menu for more information about the error.
session out
—
session out returns a reference to the Python session.
error out
—
error out contains error information. With the following exception, this output provides standard error out functionality. If the value of error in is no error, this VI contains error information that corresponds to the error code input. |
Env path
—
Python version
—
error in (no error)
—
session out
—
error out
—