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: articles/machine-learning/resource-known-issues.md
+17-14Lines changed: 17 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,23 @@ Learn about the [resource quotas](how-to-manage-quotas.md) you might encounter w
35
35
36
36
## Installation and import
37
37
38
+
***Pip Installation: Dependencies are not guaranteed to be consistent with single line installation**:
39
+
40
+
This is a known limitation of pip, as it does not have a functioning dependency resolver when you install as a single line. The first unique dependency is the only one it looks at.
41
+
42
+
In the following code `azure-ml-datadrift` and `azureml-train-automl` are both installed using a single line pip install.
For this example, let's say `azure-ml-datadrift` requires version > 1.0 and `azureml-train-automl` requires version < 1.2. If the latest version of `azure-ml-datadrift` is 1.3, then both packages get upgraded to 1.3, regardless of the `azureml-train-automl` package requirement for an older version.
47
+
48
+
To ensure the appropriate versions are installed for your packages, install using multiple lines like in the following code. Order isn't an issue here, since pip explicitly downgrades as part of the next line call. And so, the appropriate version dependencies are applied.
49
+
50
+
```
51
+
pip install azure-ml-datadrift
52
+
pip install azureml-train-automl
53
+
```
54
+
38
55
* **Error message: Cannot uninstall 'PyYAML'**
39
56
40
57
Azure Machine Learning SDK for Python: PyYAML is a `distutils` installed project. Therefore, we cannot accurately determine which files belong to it if there is a partial uninstall. To continue installing the SDK while ignoring this error, use:
@@ -78,20 +95,6 @@ Learn about the [resource quotas](how-to-manage-quotas.md) you might encounter w
78
95
* Add `azureml-dataprep` version 1.1.8 or above.
79
96
* Add `pyarrow` version 0.11 or above.
80
97
81
-
***Pip Installation: Dependecies are not guaranteed to be consistent with single line installation**: This is a known limitation of pip as it does not have a functioning dependency resolver when you install as a single line. The first unique dependency is the only one it looks at. For example, if you are installing azure-ml-datadrift which requires version >1.0and azureml-train-automl which requires version <1.2andif the latest version is1.3, when the user installs the packages in a single line as shown below, everything gets upgraded to 1.3 even though the azureml-train-automl package requires an older version.
82
-
83
-
* You will see inconsistent dependecies with single line installation.
* To ensure the appropriate versions are installed for your packages, install using multiple lines like in the following code. Order doesn't matter here.
0 commit comments