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
# Installing machine learning components without internet access
20
22
21
-
Because the R and Python components provided with SQL Server 2016 and SQL Server 2017 are open source, Microsoft does not install R or Python components by default.
22
-
23
-
Instead, we provide the related installers and bundled packages as a convenience on the Microsoft Download Center and other trusted sites. You must consent to the appropriate license, and then SQL Server setup installs R or Python components for you.
23
+
Because the R and Python components provided with SQL Server 2016 and SQL Server 2017 are open source, Microsoft does not install R or Python components by default. Instead, we provide the related installers and bundled packages as a convenience on the Microsoft Download Center and other trusted sites. You must consent to the appropriate license, and then SQL Server setup installs R or Python components for you.
24
24
25
25
This topic provides the download locations for the installers and an overview of the offline setup process.
26
26
27
-
## Installation process
27
+
## Overview of the offline installation process
28
28
29
29
Typically, setup of the machine components used in SQL Server 2016 and SQL Server 2017 requires an internet connection. When SQL Server setup runs, if you have selected any of the machine learning options, setup checks for the Python or R installers, as well as any other required components.
30
30
@@ -42,12 +42,21 @@ Typically, setup of the machine components used in SQL Server 2016 and SQL Serve
42
42
43
43
### Step 1. Obtain additional installers
44
44
45
-
For **R** in SQL Server 2016 and SQL Server 2017, you'll need to get two different installers. The SQL Server setup wizard ensures that they are installed in the correct order.
45
+
**For R**
46
+
47
+
The R language is supported in both SQL Server 2016 and SQL Server 2017. Two different installers are required, for open source and propretary components. The SQL Server setup wizard ensures that they are installed in the correct order.
46
48
47
49
+ Installers with **SRO** in the name provide the open source components.
48
50
+ Installers with **SRS** in the name contain components provided by Microsoft, including those for database integration.
49
51
50
-
For **Python** in SQL Server 2017, download the single CAB file, and any prerequisites.
52
+
**For Python**
53
+
54
+
The Python language is supported only in SQL Server 2017. Again there are two separate installers that you must download.
55
+
56
+
+ Installers with **SPO** in the name are for Microsoft Python Open, and provide the open source components.
57
+
+ Installers with **SPS** in the name are for Microsoft Python Server, and contain components provided by Microsoft, including those for database integration.
58
+
59
+
**How to download**
51
60
52
61
1. Download the installers from the [Microsoft Download Center sites](#installerlocs) onto a computer with internet access, and save the installer rather than running it.
53
62
2. Copy the installer (CAB) files to the computer where you intend to install machine learning components.
@@ -113,7 +122,7 @@ Microsoft R Server |[SRS_9.2.0.24_1033.cab](https://go.microsoft.com/fwlink
113
122
Microsoft Python Open |[SPO_9.2.0.24_1033.cab](https://go.microsoft.com/fwlink/?LinkId=851502) |
114
123
Microsoft Python Server |[SPS_9.2.0.24_1033.cab](https://go.microsoft.com/fwlink/?LinkId=851508) |
115
124
**SQL Server 2017 CU1** |
116
-
Microsoft R Open |use prervious|
125
+
Microsoft R Open |use previous|
117
126
Microsoft R Server |[SRS_9.2.0.100_1033.cab](https://go.microsoft.com/fwlink/?LinkId=851501)|
118
127
Microsoft Python Open |use previous |
119
128
Microsoft Python Server |[SPS_9.2.0.100_1033.cab](https://go.microsoft.com/fwlink/?LinkId=851500) |
@@ -183,7 +192,6 @@ Component |Version
183
192
[Microsoft Visual C++ 2013 Redistributable](https://go.microsoft.com/fwlink/?linkid=799853) | 12.0.30501.0
184
193
[Microsoft Visual C++ 2015 Redistributable](https://go.microsoft.com/fwlink/?linkid=828641) | 14.0.23026.0
185
194
186
-
187
195
## <aname="modslocales"></a>Installing for different language locales
188
196
189
197
If you download the .CAB files as part of SQL Server setup on a computer with internet access, the setup wizard detects the local language and automatically changes the language of the installer.
@@ -198,7 +206,7 @@ However, depending on your version of SQL Server, you might need to take additio
198
206
199
207
> [!IMPORTANT]
200
208
> This issue applies only to early versions and was fixed in later releases.
201
-
> Only use this workaround if the installer returns a message that it cannot install the correct language.
209
+
> **Only use this workaround if the installer returns a message that it cannot install the correct language.**
202
210
203
211
+**For SQL Server 2017**
204
212
@@ -214,14 +222,15 @@ Slipstream setup refers to the ability to apply a patch or update to a failed in
214
222
215
223
+ If you are *adding* these components to an *existing* installation, use the updated version of the SQL Server installer, and the corresponding updated version of the additional components. When you specify that the R feature is to be installed, the installer looks for the matching version of the installers for the machine learning components.
216
224
217
-
## Command-line arguments for setup
225
+
## Command-line arguments for specifying component locations
218
226
219
-
When performing an unattended setup, you must provide the following command-line arguments. However, you do not need to set any additional flags to install additional required components; prerequisites such as .NET core are installed silently by default.
227
+
When performing an offline setup from the command line, you must provide the following command-line arguments to specify the location of components that you downloaded in advance. However, you do not need to set any additional flags to install additional required components; prerequisites such as .NET core are installed silently by default.
220
228
221
229
**Location of installers**
222
230
223
231
-`/UPDATESOURCE` to specify the location of the local file containing the SQL Server update installer
224
232
-`/MRCACHEDIRECTORY` to specify the folder containing the R component CAB files
233
+
-`/MPYCACHEDIRECTORY` to specify the folder containing the Python component CAB files
225
234
226
235
**R components in SQL Server 2016**
227
236
@@ -238,7 +247,7 @@ When performing an unattended setup, you must provide the following command-line
238
247
239
248
-`/ADVANCEDANALYTICS` to get engine support for external scripts
240
249
-`/SQL_INST_MPY` to use Python
241
-
-`/IACCEPTPYTHONLICENSETERMS="True"` to accept the separate R licensing agreement
250
+
-`/IACCEPTPYTHONLICENSETERMS="True"` to accept the separate Python licensing agreement
0 commit comments