2

I am having hard time to install and add "cv2" module in PyCharm2018, to my project.

When I run pip install cv2, I am notified that my pip version is 10.0.1. I have check forum how to upgrade it, which i did. But I am still prompted by same message, that my pip is version 10.0.1

console

Project settings are showing 18.1, and python -m pip install pip confirms same, that version is 18.1. I have restarted IDE and also computer, same story.

settings

Dodo Kanis
  • 23
  • 2

2 Answers2

2

There is nothing wrong with your pip, the problem is cv2, the package name is different, try this:

pip install opencv-python

So now go ahead you can import cv2.

and about that warning, you can turn it off using This Link

Mehrdad Pedramfar
  • 10,941
  • 4
  • 38
  • 59
0

Try using on terminal:

pip3 install opencv-python

For Python 3.6:

python -m pip install opencv-python
Mehrdad Pedramfar
  • 10,941
  • 4
  • 38
  • 59
Matheus Ribeiro
  • 143
  • 1
  • 15