fastconda icon indicating copy to clipboard operation
fastconda copied to clipboard

opencv-python-headless conda package for python > 3.11

Open matteoaletti opened this issue 11 months ago • 0 comments

Hope this is the proper place to ask this question.

I tried to install the opencv-python-headless on a conda environment with python3.12

>> conda create -n test -c fastai python=3.12 opencv-python-headless
Retrieving notices: done
Channels:
 - fastai
 - conda-forge
Platform: linux-64
Collecting package metadata (repodata.json): done
Solving environment: failed

LibMambaUnsatisfiableError: Encountered problems while solving:
  - nothing provides _python_rc needed by python-3.12.0rc3-rc3_hab00c5b_1_cpython

Could not solve for environment specs
The following packages are incompatible
├─ opencv-python-headless is installable with the potential options
│  ├─ opencv-python-headless 4.5.1.48 would require
│  │  └─ python_abi 3.8.* *_cp38, which can be installed;
│  ├─ opencv-python-headless [4.10.0.82|4.10.0.84|...|4.9.0.80] would require
│  │  └─ python >=3.7,<3.8.0a0 , which can be installed;
│  ├─ opencv-python-headless 4.5.1.48 would require
│  │  └─ python_abi 3.6.* *_cp36m, which can be installed;
│  ├─ opencv-python-headless [4.10.0.82|4.10.0.84|...|4.9.0.80] would require
│  │  └─ python >=3.8,<3.9.0a0 , which can be installed;
│  ├─ opencv-python-headless [4.5.2.52|4.5.2.54|4.5.3.56|4.5.4.58|4.5.4.60] would require
│  │  └─ python >=3.6,<3.7.0a0 , which can be installed;
│  ├─ opencv-python-headless [4.10.0.82|4.10.0.84|...|4.9.0.80] would require
│  │  └─ python >=3.9,<3.10.0a0 , which can be installed;
│  ├─ opencv-python-headless [4.10.0.82|4.10.0.84|...|4.9.0.80] would require
│  │  └─ python >=3.10,<3.11.0a0 , which can be installed;
│  └─ opencv-python-headless [4.10.0.82|4.10.0.84|4.9.0.80] would require
│     └─ python >=3.11,<3.12.0a0 , which can be installed;
└─ python 3.12**  is not installable because there are no viable options
   ├─ python [3.12.0|3.12.1|...|3.12.8] would require
   │  └─ python_abi 3.12.* *_cp312, which conflicts with any installable versions previously reported;
   └─ python 3.12.0rc3 would require
      └─ _python_rc, which does not exist (perhaps a missing channel).

Checking https://anaconda.org/fastai/opencv-python-headless it seems like there are no packages for 3.12 (and for 3.13)

Is it possible to add them?

matteoaletti avatar Feb 04 '25 10:02 matteoaletti