python安装opencv报错FEHLER: Es konnten keine Räder für opencv-python erstellt werden, das für die Installation von pyproj erforderlich ist

Python3.6 installiert opencv und stellt einen Fehler fest. Wie unten gezeigt:
pip install opencv-pythonFehler.

  Please check the install target is valid and see CMake's output for more information.
  ----------------------------------------
  ERROR: Failed building wheel for opencv-python
Failed to build opencv-python
ERROR: Could not build wheels for opencv-python, which is required to install pyproject.toml-based projects

Der Grund dafür ist, dass die neueste Version mit dem Befehl pip install opencv-pythoninstalliert wird , was von Python3.6 nicht unterstützt wird. Suchen Sie also eine Version, die von Python3.6 unterstützt wird. z.B. opencv-python==4.3.0.38.
Fügen Sie hier eine Bildbeschreibung ein

pip install -i https://pypi.douban.com/simple/ pip install opencv-python==4.3.0.38

Guess you like

Origin blog.csdn.net/qq_41821678/article/details/128913990