我正在尝试cv2
在 PyCharm 中导入模块,但它显示错误。我也在终端尝试过
pip install opencv-python
pip3 install cv2
pip install opencv-python
pip3 install cv2
等等。
尝试opencv-python
从终端安装显示此
Requirement already satisfied: opencv-python in ./anaconda3/lib/python3.6/site-packages (3.4.1.15)
并尝试cv2
从终端安装显示此
Could not find a version that satisfies the requirement cv2 (from versions: )
No matching distribution found for cv2
但是,尝试cv2
在 Pycharm 上导入显示了这一点:
Pycharm 错误图像