PythonAdapter.ValidatePythonVersionAndVirtualEnvironmentPath
- Updated2025-07-21
- 1 minute(s) read
PythonAdapter.ValidatePythonVersionAndVirtualEnvironmentPath
Syntax
PythonAdapter.ValidatePythonVersionAndVirtualEnvironmentPath( pyVersion, pyVirtualEnvironmentAbsolutePath)
Purpose
Validates the specified Python version and virtual environment path.
Remarks
The method generates an error when the validation of the Python version or virtual environment path fails.
Parameters
pyVersion As String
[In] Specifies the Python version to use for validating the Python module.
pyVirtualEnvironmentAbsolutePath As String
[In] Specifies the absolute path of the Python virtual environment to use for validating the Python module. Leave this field empty to use the default environment.