Configure Python Library Path using Configuration Hub

About this task

If you want to configure additional paths for Python library or if you want to include paths that contain additional, custom or third-party modules, you can add those path to the registry using Configuration Hub. This topic describes how to configure additional Python Library path using Configuration Hub.

Procedure

  1. Access Configuration Hub.
  2. Select Collectors, and then select the Python Collector instance that you want to configure.
    The fields specific to the collector instance appear in the DETAILS section.
  3. In the INSTANCE CONFIGURATION section, select .
    The Update Python Library Path window appears.
  4. In PYTHON LIBRARY PATH enter the library path(s) as needed.
    Note: While entering multiple paths, ensure to separate the library paths using semicolons.

    For example,

    C:\Program Files (x86)\GE Digital\Historian Python Expressions38\Python38\lib; 
    C:\Program Files (x86)\GE Digital\Historian Python Expressions38\Python38\user; 
    C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\Lib; 
    C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\Lib\site-packages; 
    C:\Users\Administrator\AppData\Local\Programs\Python\Python38-32\DLLs; 
  5. Select Apply
    The library paths are added to the registry.
  6. For the changes to take effect, restart the collector instance.