Home > OS >  opencv-python for Python 3.10, "Could not find a version that satisfies the requirement"
opencv-python for Python 3.10, "Could not find a version that satisfies the requirement"

Time:10-09

I am trying to install opencv with python using pip install opencv-python but I am getting this error

ERROR: Command errored out with exit status 1:
   command: 'C:\Program Files\Python310\python.exe' 'C:\Users\gnara\AppData\Local\Temp\pip-standalone-pip-_33ltocw\__env_pip__.zip\pip' install --ignore-installed --no-user --prefix 'C:\Users\gnara\AppData\Local\Temp\pip-build-env-xl8kjguh\overlay' --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools wheel scikit-build cmake pip 'numpy==1.11.3; python_version=='"'"'3.5'"'"'' 'numpy==1.13.3; python_version=='"'"'3.6'"'"'' 'numpy==1.14.5; python_version=='"'"'3.7'"'"'' 'numpy==1.17.3; python_version>='"'"'3.8'"'"''
       cwd: None
  
ERROR: Could not find a version that satisfies the requirement opencv-python (from versions: 3.4.10.37, 3.4.11.39, 3.4.11.41, 3.4.11.43, 3.4.11.45, 3.4.13.47, 3.4.15.55, 4.3.0.38, 4.4.0.40, 4.4.0.42, 4.4.0.44, 4.4.0.46, 4.5.1.48, 4.5.3.56)
ERROR: No matching distribution found for opencv-python
WARNING: You are using pip version 21.2.3; however, version 21.2.4 is available.
You should consider upgrading via the 'C:\Program Files\Python310\python.exe -m pip install --upgrade pip' command.

CodePudding user response:

Looks like there is no opencv-python for Python 3.10... yet. Be patient.

This issue is being tracked already: https://github.com/opencv/opencv-python/issues?q=3.10

  • Related