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
Copy file name to clipboardExpand all lines: docs/machine-learning/install/sql-machine-learning-services-windows-install-sql-2022.md
+26-16Lines changed: 26 additions & 16 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ title: Install SQL Server 2022 Machine Learning Services on Windows
3
3
description: Learn how to install SQL Server 2022 Machine Learning Services on Windows. You can use Machine Learning Services to execute Python, R, or Java scripts in-database.
4
4
ms.prod: sql
5
5
ms.technology: machine-learning-services
6
-
ms.date: 05/24/2022
6
+
ms.date: 08/23/2022
7
7
ms.topic: how-to
8
8
author: WilliamDAssafMSFT
9
9
ms.author: wiassaf
@@ -52,7 +52,7 @@ For local installations, you must run the setup as an administrator. If you inst
52
52
53
53
If you encounter any installation errors during setup, check the summary log in the Setup Bootstrap log folder. For example, `%ProgramFiles%\Microsoft SQL Server\160\Setup Bootstrap\Log\Summary.txt`.
54
54
55
-
1. Start the setup wizard for SQL Server.
55
+
1. Start the SQL Setup wizard for SQL Server.
56
56
57
57
2. On the **Installation** tab, select **New SQL Server stand-alone installation or add features to an existing installation**.
58
58
@@ -77,6 +77,8 @@ If you encounter any installation errors during setup, check the summary log in
77
77
-[Install Python](#install-python)
78
78
-[Install Java](#install-java)
79
79
80
+
**Continue to the instructions to [install R](#install-r) or [install Python](#install-python).**
81
+
80
82
## Install R
81
83
82
84
5. Download the most recent version of [R 4.2 for Windows](https://cran.r-project.org/bin/windows/base/) for Windows, and install.
@@ -96,19 +98,17 @@ If you encounter any installation errors during setup, check the summary log in
@@ -139,16 +139,26 @@ If you encounter any installation errors during setup, check the summary log in
139
139
140
140
## Install Python
141
141
142
-
5. Download the most recent version of [Python 3.10 for Windows](https://www.python.org/downloads/) for Windows, and install.
142
+
5. Download the most recent version of [Python 3.10 for Windows](https://www.python.org/downloads/) for Windows. Install using the following options:
143
+
1. Launch the Python Setup application and choose **Customize installation**.
144
+
1. Verify the box is checked next to the option to **Install launcher for all users (recommended)**.
145
+
1. Select all **Optional Features** options, or as desired.
146
+
1. On the **Advanced Options** page, check **Install for all users**, accept other default options, and select **Install**. It is recommended that the Python installation path is accessible by all users such as `C:\Program Files\Python310 `and it is not specific to a single user.
147
+
148
+
6. Download the latest version of RevoScalePY package and its dependencies: [revoscalepy Python Windows](https://go.microsoft.com/fwlink/?LinkID=2193924) and install revoscalepy from the Python custom install location. For example:
143
149
144
-
6. Install the latest version of RevoScalePY package and its dependencies: [revoscalepy Python Windows](https://go.microsoft.com/fwlink/?LinkID=2193924).
7. Configure the installed Python runtime with SQL Server. You can change the default version by using the **RegisterRext.exe** command-line utility. The utility is in the user's application library folder, for example: `C:\Users\<alias>\AppData\Local\Programs\Python\Python310\Lib\site-packages\revoscalepy\rxLibs`.
155
+
7. Configure the installed Python runtime with SQL Server. You can change the default version by using the **RegisterRext.exe** command-line utility. The utility is in the custom install location, for example: `C:\Program Files\Python310\Lib\site-packages\revoscalepy\rxLibs`.
147
156
148
157
The following script can be used to configure the installed Python runtime from the installation folder location of **RegisterRext.exe**. The instance name is "MSSQLSERVER" for a default instance of SQL Server, or the instance name for a named instance of SQL Server.
8. Use [SQL Server Management Studio (SSMS)](../../ssms/download-sql-server-management-studio-ssms.md) or [Azure Data Studio](../../azure-data-studio/what-is-azure-data-studio.md) to connect to the instance where you installed SQL Server Machine Learning Services. Select **New Query** to open a query window, and **Execute*** the following command to enable the external scripting feature:
0 commit comments