PythonAdapter.ValidateModule
- Updated2025-07-21
- 1 minute(s) read
PythonAdapter.ValidateModule
Syntax
PythonAdapter.ValidateModule( pyVersion, pyVirtualEnvironmentAbsolutePath, moduleAbsolutePath)
Purpose
Validates whether the Python Adapter can import the specified Python module.
Remarks
The method generates an error when the validation of the Python module 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.
moduleAbsolutePath As String
[In] Specifies the absolute path of the Python module to validate.