Skip to content

Commit e60f409

Browse files
authored
Move pip install
1 parent 265fa18 commit e60f409

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

articles/machine-learning/resource-known-issues.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,24 @@ Learn about the [resource quotas](how-to-manage-quotas.md) you might encounter w
3535

3636
## Installation and import
3737

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+
For example, 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, when the user installs the packages in a single line as shown in the following code, everything gets upgraded to 1.3, regardless of the azureml-train-automl package requirement for an older version.
43+
44+
* You will see inconsistent dependencies with single line installation.
45+
```python
46+
pip install azure-ml-datadrift, azureml-train-automl
47+
```
48+
49+
* To ensure the appropriate versions are installed for your packages, install using multiple lines like in the following code. Order doesn't matter here.
50+
51+
```python
52+
pip install azure-ml-datadrift
53+
pip install azureml-train-automl
54+
```
55+
3856
* **Error message: Cannot uninstall 'PyYAML'**
3957

4058
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 +96,6 @@ Learn about the [resource quotas](how-to-manage-quotas.md) you might encounter w
7896
* Add `azureml-dataprep` version 1.1.8 or above.
7997
* Add `pyarrow` version 0.11 or above.
8098

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.0 and azureml-train-automl which requires version < 1.2 and if the latest version is 1.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.
84-
```python
85-
pip install azure-ml-datadrift, azureml-train-automl
86-
```
87-
88-
* To ensure the appropriate versions are installed for your packages, install using multiple lines like in the following code. Order doesn't matter here.
89-
90-
```python
91-
pip install azure-ml-datadrift
92-
pip install azureml-train-automl
93-
```
94-
9599
## Create and manage workspaces
96100

97101
> [!WARNING]

0 commit comments

Comments
 (0)