You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!INCLUDE [SQL Server 2019 and later](../../includes/applies-to-version/sqlserver2019.md)]
15
15
16
-
This article describes how to install a custom runtime for running Python scripts with SQL Server. The custom runtime for Python can be used in the following scenarios:
16
+
This article describes how to install a custom runtime for running Python scripts with SQL Server. The custom runtime uses language extension technology built on an extensibility framework for executing external code. The custom runtime for Python can be used in the following scenarios:
17
17
18
18
+ An installation of SQL Server with extensibility framework.
19
19
@@ -24,6 +24,8 @@ This article describes how to install a custom runtime for running Python script
24
24
> [!NOTE]
25
25
> This article describes how to install a custom runtime for Python on Windows. To install on Linux, see [Install a Python custom runtime for SQL Server on Linux](custom-runtime-python.md?view=sql-server-linux-ver15&preserve-view=true).
26
26
27
+
28
+
27
29
## Pre-install checklist
28
30
29
31
Before installing a Python custom runtime, install the following:
@@ -74,7 +76,7 @@ Language Extensions use the extensibility framework for executing external code.
74
76
75
77
Install [Python 3.7](https://www.python.org/downloads/release/python-379/) and add it to the PATH.
76
78
77
-
**update image - note**
79
+

78
80
79
81
80
82
#### Install pandas
@@ -99,7 +101,7 @@ If PYTHONHOME already exists, select **Edit** to point it to the Python 3.7 inst
99
101
100
102
## Grant access to the custom Python installation folder
101
103
102
-
Run the following **icacls** commands from a new *elevated* command prompt to grant READ & EXECUTE access to PYTHONHOME to **SQL Server Launchpad Service** and SID **S-1-15-2-1** (**ALL_APPLICATION_PACKAGES**). The launchpad service username is of the form`NT Service\MSSQLLAUNCHPAD$INSTANCENAME* where INSTANCENAME` is the instance name of your SQL Server. The commands will recursively grant access to all files and folders under the given directory path.
104
+
Run the following **icacls** commands from a new *elevated* command prompt to grant READ & EXECUTE access to PYTHONHOME to **SQL Server Launchpad Service** and SID **S-1-15-2-1** (**ALL_APPLICATION_PACKAGES**). The launchpad service username is:`NT Service\MSSQLLAUNCHPAD$INSTANCENAME* where INSTANCENAME` is the instance name of your SQL Server. The commands will recursively grant access to all files and folders under the given directory path.
103
105
104
106
Append the instance name to `MSSQLLAUNCHPAD` (`MSSQLLAUNCHPAD$INSTANCENAME`). In this example, INSTANCENAME is the default instance `MSSQLSERVER`.
[!INCLUDE [SQL Server 2019 and later](../../includes/applies-to-version/sqlserver2019.md)]
16
16
17
-
This article describes how to install a custom runtime for running R scripts with SQL Server. The custom runtime for R can be used in the following scenarios:
17
+
This article describes how to install a custom runtime for running R scripts with SQL Server. The custom runtime uses language extension technology built on an extensibility framework for executing external code. The custom runtime for R can be used in the following scenarios:
18
18
19
19
+ An installation of SQL Server with extensibility framework.
0 commit comments