A.2.4.1 Error when loading libraries in Conda environments in Oracle Machine Learning Notebooks

Issue: When loading Conda libraries with statsmodels library and its dependencies, the following error occurs.

Error message:
Traceback (most recent call last): File "/tmp/python4753125085416874695/zeppelin_python.py", line 145, in <module> import oml, numpy, pandas, scipy, matplotlib, oracledb, sklearn File "/usr/local/lib/python3.12/site-packages/oml/__init__.py", line 43, in <module> from oml.core import * File "/usr/local/lib/python3.12/site-packages/oml/core/__init__.py", line 33, in <module> from .methods import connect File "oml/core/methods.py", line 79, in init oml.core.methods.....
Resolution:
  1. Adjust the version of statsmodels that is being installed.
  2. Use the conda search command to view the library version and the Python build. This includes the Python version.
  3. Use statsmodels==0.14.0 to address this issue.