我遇到的问题:
我在该版本的python中下载并安装了opencv库,但是输出一下代码后,现实没有cv2模块,请求支援!
import cv2 as cv
image = cv.imread("D:/images/didi2.jpg")
cv.imshow("input",image)
cv.waitKey(0)
cv.destoryAllWindows()
"D:\A开发环境\pycharm work\Scripts\python.exe" C:/Users/wujingrui/PycharmProjects/pythonProject/opencv3.10.5_firsttime_demo.py
Traceback (most recent call last):
File "C:\Users\wujingrui\PycharmProjects\pythonProject\opencv3.10.5_firsttime_demo.py", line 1, in
import cv2 as cv
ModuleNotFoundError: No module named 'cv2'
进程已结束,退出代码为 1