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 2022](../../includes/applies-to-version/sqlserver2022.md)]
18
18
19
-
This article shows you how to install [SQL Server Machine Learning Services with Python and R](../sql-server-machine-learning-services.md) on Windows. You can use Machine Learning Services to run Python and R scripts in-database.
19
+
This article shows you how to install [SQL Server Machine Learning Services with Python and R](../sql-server-machine-learning-services.md) on Windows. With Machine Learning Services, you can run Python and R scripts in-database.
20
20
21
21
> [!NOTE]
22
22
> These instructions are specific to [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)] on Windows. To install SQL Server Machine Learning Services on Windows for [!INCLUDE [sssql16-md](../../includes/sssql16-md.md)], [!INCLUDE [sssql17-md](../../includes/sssql17-md.md)], or [!INCLUDE [sssql19-md](../../includes/sssql19-md.md)], see [Install SQL Server Machine Learning Services (Python and R) on Windows](sql-machine-learning-services-windows-install.md).
@@ -145,7 +145,7 @@ Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes f
145
145
146
146
#### Install Python runtime
147
147
148
-
1. Download the most recent version of [Python 3.10 for Windows](https://www.python.org/downloads/). Install it by using the following options:
148
+
1. Download the most recent version of [Python 3.10 for Windows](https://aka.ms/Python3_10). Install it by using the following options:
149
149
150
150
1. Open the Python Setup application andselect**Customize installation**.
151
151
1. Verify that the **Install launcher for all users (recommended)** checkbox is selected.
@@ -154,15 +154,24 @@ Beginning with [!INCLUDE [sssql22-md](../../includes/sssql22-md.md)], runtimes f
154
154
155
155
We recommend using a Python installation path that all users can access (such as`C:\Program Files\Python310`), and not one that's specific to a single user.
156
156
157
-
1. Download and install the latest version of the `revoscalepy` package and its dependencies from a new elevated command prompt:
157
+
1. Create a text file with the following contents, and save it as `C:\Program Files\Python310\constraints.txt`:
158
+
159
+
```text
160
+
dill==0.3.4
161
+
numpy==1.22.0
162
+
pandas==1.3.5
163
+
patsy==0.5.2
164
+
python-dateutil==2.8.2
165
+
```
166
+
167
+
1. Download and install the latest version of the `revoscalepy` package and its dependencies from a new elevated command prompt. Pass the `constraints.txt` file created in the previous step:
Run the following **icacls** commands to grant **READ** and **EXECUTE** access to the installed libraries to **SQL Server Launchpad Service** and SID **S-1-15-2-1 (ALL_APPLICATION_PACKAGES)**. You need to grant permissions to the service account associated with the Launchpad service, check in [SQL Server Configuration Manager](../../relational-databases/sql-server-configuration-manager.md).
174
+
1. Run the following **icacls** commands to grant **READ** and **EXECUTE** access to the installed libraries to **SQL Server Launchpad Service** and SID **S-1-15-2-1 (ALL_APPLICATION_PACKAGES)**. You need to grant permissions to the service account associated with the Launchpad service. Check in [SQL Server Configuration Manager](../../relational-databases/sql-server-configuration-manager.md).
0 commit comments