EG0012 Environment_Error

Error Message

The error message format is as follows. The placeholder %s indicates the error reason.

Component loading failed. Reason: %s.

The following is an example of the error message:

Component loading failed. Reason: Dynamic library libaoe_runner.so is not found. Please specify the correct dynamic library by setting environment variable LD_LIBRARY_PATH.

The following is another example of the error message:

Component loading failed. Reason: ModuleNotFoundError: No module named 'optune_utils.tuning_utils'.Please specify the correct Python module by setting environment variable PYTHONPATH or install the corresponding module.

Solution

The environment is incorrect, resulting in failure to load the component. Configure the environment based on the error reason.