Dodo Kanis
Dodo Kanis

Reputation: 23

pip version in Pycharm2018

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

Upvotes: 2

Views: 106

Answers (2)

Matheus Ribeiro
Matheus Ribeiro

Reputation: 396

Try using on terminal:

pip3 install opencv-python

For Python 3.6:

python -m pip install opencv-python

Upvotes: 0

Mehrdad Pedramfar
Mehrdad Pedramfar

Reputation: 11073

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

Upvotes: 2

Related Questions