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

Inputs/Outputs
![]() Env path specifies the directory of Venv virtual environment. ![]() 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 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 returns a reference to the Python session. ![]() 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. |