Azure / azureml-examples

Official community-driven Azure Machine Learning examples, tested with GitHub Actions.
https://docs.microsoft.com/azure/machine-learning
MIT License
1.76k stars 1.44k forks source link

Codespaces build fails with unresolvable conda environment | anaconda-anon-usage requires python >=3.8 #3317

Open cedricvidal opened 3 months ago

cedricvidal commented 3 months ago

Operating System

Linux

Version Information

This is a Codespaces Dockerfile issue

Steps to reproduce

  1. Open project in Codespaces
  2. Wait for container to build

Expected behavior

  1. Open project in Codespaces
  2. Wait for container to build
  3. Build succeeds

Actual behavior

  1. Open project in Codespaces
  2. Wait for container to build
  3. Build fails with unresolvable conda environment anaconda-anon-usage requires python >=3.8

Addition information

The excerpt from the log showing the failure

#12 0.990 Collecting package metadata (repodata.json): ...working... 2024-07-25 15:39:59.190Z: done
#12 3.711 Solving environment: ...working... 2024-07-25 15:40:07.310Z: failed
2024-07-25 15:40:07.448Z: #12 11.83 
#12 11.83 LibMambaUnsatisfiableError: Encountered problems while solving:
#12 11.83   - package anaconda-anon-usage-0.4.0-py310hc06175d_0 requires python >=3.10,<3.11.0a0, but none of the providers can be installed
#12 11.83 
#12 11.83 Could not solve for environment specs
#12 11.83 The following packages are incompatible
#12 11.83 ├─ anaconda-anon-usage is installable with the potential options
#12 11.83 │  ├─ anaconda-anon-usage [0.4.3|0.4.4] would require
#12 11.83 │  │  └─ python >=3.12,<3.13.0a0 , which can be installed;
#12 11.83 │  ├─ anaconda-anon-usage [0.2.0|0.3.0|...|0.4.4] would require
#12 11.83 │  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
2024-07-25 15:40:07.449Z: #12 11.83 │  ├─ anaconda-anon-usage [0.2.0|0.3.0|...|0.4.4] would require
#12 11.83 │  │  └─ python >=3.11,<3.12.0a0 , which can be installed;
#12 11.83 │  ├─ anaconda-anon-usage [0.2.0|0.3.0|...|0.4.4] would require
#12 11.83 │  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
#12 11.83 │  └─ anaconda-anon-usage [0.2.0|0.3.0|...|0.4.4] would require
#12 11.83 │     └─ python >=3.9,<3.10.0a0 , which can be installed;
#12 11.83 └─ python 3.7**  is not installable because there are no viable options
#12 11.83    ├─ python [3.7.0|3.7.1|...|3.7.9] conflicts with any installable versions previously reported;
#12 11.83    └─ python 3.7.1 would require
#12 11.83       └─ openssl >=1.1.1,<1.1.2.0a0 , which does not exist (perhaps a missing channel).
#12 11.83 
#12 ERROR: process "/bin/sh -c conda install -c anaconda -y python=3.7" did not complete successfully: exit code: 1

Here's the full log creation.log