Skip to content

Latest commit

 

History

History
33 lines (25 loc) · 1.41 KB

File metadata and controls

33 lines (25 loc) · 1.41 KB
author VanMSFT
ms.author vanto
ms.date 02/08/2021
ms.service sql
ms.subservice machine-learning-services
ms.topic include
ms.custom intro-installation, linux-related-content

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