total nexwbie hier.
Ich versuche erfolglos, das Modul cv2 für Python zu installieren, aber es funktioniert nicht. Ich arbeite mit Python 3.6 (64Bits)
Ich habe die folgenden Befehle in die cmd eingegeben:
C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install cv2
Collecting cv2
Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2
C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install opencv
Collecting opencv
Could not find a version that satisfies the requirement opencv (from versions: )
No matching distribution found for opencv
C:\Users\leahj>C:\Users\leahj\AppData\Local\Programs\Python\Python36\Scripts\pip3 install opencv2
Collecting opencv2
Could not find a version that satisfies the requirement opencv2 (from versions: )
No matching distribution found for opencv2
Ich habe versucht, auf dieser Seite nach Antworten zu suchen, konnte aber keine finden. Am genauesten fand ich Folgendes: https://breakthrough.github.io/Installing-OpenCV/ aber es scheint, dass ich auf eine ältere Python-Version zurückgreifen muss?
Versuche es:
pip3 install opencv-python
Es funktioniert für Python 3.5
Für python 3.6 Die Conda Install OpenCV und Conda Install -c Conda-Forge OpenCV-Methoden für OpenCV sind weiterhin für das Lesen und Anzeigen von Videos/Bildern BROKEN.
Verwenden Sie stattdessen pip install:
python -m pip installiere opencv-python
Referenz: https://www.scivision.co/install-opencv-python-windows/