Pip installation stuck in infinite loop if unresolvable conflicts in dependencies

Viewed 2146

Pip installation is stuck in an infinite loop if there are unresolvable conflicts in dependencies. To reproduce, pip==20.3.0 and:

pip install pyarrow==2.0.0 azureml-defaults==1.18.0
1 Answers

Workarounds:

Local environment: Downgrade pip to < 20.3

Conda environment created from yaml: This will be seen only if conda-forge is highest priority channel, anaconda channel doesn't have pip 20.3 (as of now). To mitigate the issue please explicitly specify pip<20.3 (!=20.3 or =20.2.4 pin to other version) as a conda dependency in the conda specification file

AzureML experimentation: Follow the case above to make sure pinned pip resulted as a conda dependency in the environment object, either from yml file or programmatically

Related