I'm trying to install the OpenCV library, to be able to manipulate images, to install it, I'm using the command in prompt:
pip install opencv-python
But it doesn't work, in pycharm the methods I need do not appear, such as: "cv2.imread()" or "cv2.imshow()":
Notes:
- I'm using the python version 3.11.1
- i'm using the OpenCv version 4.7.0.68
- I'm coding in Windows plataform
I also tried using the command:
pip install opencv-contrib-python
I thought that would solve the situation, but it stayed the same
CodePudding user response:
This will fix issue but roll you back to the previous version
pip install opencv-python==4.5.5.62
do this to return back to the latest version
pip install -U opencv-python