Pycharm,Python 安裝OpenCV and CV2 時,報錯,教你如何正確安裝。


Collecting cv2
  Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2

 

初學Python,在安裝cv2框架的時候,報以上錯誤,試了很多次  pip install cv2  依然無效,后來查閱了好多資料,總結下面的方法,安裝了opencv后,里面包含了cv2框架。

 

If you are using python 2 you can install with pip:

pip install opencv-python

Or use the equivilent for python 3:

pip3 install opencv-python

  


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM