Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 1.4 KB

File metadata and controls

34 lines (26 loc) · 1.4 KB
ms.prod sql
ms.technology machine-learning-services
ms.date 02/08/2021
ms.topic include
author WilliamDAssafMSFT
ms.author wiassaf
ms.custom
intro-installation

Install Language Extensions

Note

If you have Machine Learning Services installed on SQL Server 2019, the mssql-server-extensibility package for Language Extensions is already installed and you can skip this step.

Run the command below to install SQL Server Language Extensions on SUSE Linux Enterprise Server (SLES), which is used for the Python custom runtime.

# Install as root or sudo
sudo zypper install mssql-server-extensibility

Install Python 3.7 and pandas

The Python language extension used for the custom Python runtime currently supports Python 3.7 only. If you would like to use a different version of Python, follow the instruction in the Python Language Extension GitHub repo to modify and rebuild the extension.

  1. Install Python 3.7 on the server.

  2. Run the command below to install the pandas package

    # Install pandas to /usr/lib:
    sudo python3.7 -m pip install pandas -t /usr/lib/python3.7/dist-packages