Configure Python Machine Learning Client for SAP HANA
Configure the Python machine learning client for SAP HANA.
Prerequisites
- You have installed SAP HANA Platform 2.0 SPS 03 or later (only these versions of the PAL are supported)
- You have Python 2.7, 3.6, 3.7, or 3.8 installed.
- You have installed the hdbcli driver version 2.2.23 or later.
- You have the APL AFL__SYS_AFL_AFLPAL_EXECUTE and AFL__SYS_AFL_AFLPAL_EXECUTE_WITH_GRANT_OPTION security roles for the Automated Predictive Library (APL) module of the SAP HANA Client API for ML.
- You have installed SAP HANA APL 1811 or later. This requirement is only necessary for using the APL package.
- You have run the SAP HANA client install and selected the Python machine learning client for SAP HANA option. During the install of the Python machine learning client for SAP HANA, the Python environment is checked for dependent libraries. Either an Internet connection is available for a dynamic install of the required libraries for the Python machine learning client for SAP HANA, or the libraries must be pre-installed in the respective Python environment. The required libraries are:
- numpy
- pandas
- matplotlib
- pydot
Procedure
Use a pip install to install the Python machine learning client for SAP HANA into a Python environment:
pip install <zip-file>