Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opencv-python-headless conda package for python > 3.11 #40

Open
matteoaletti opened this issue Feb 4, 2025 · 0 comments
Open

opencv-python-headless conda package for python > 3.11 #40

matteoaletti opened this issue Feb 4, 2025 · 0 comments

Comments

@matteoaletti
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant