Dhruv Marwha
Dhruv Marwha

Reputation: 1074

OpenCV for Python 3.5.1

I have searched quite a bit regarding this and I've tried some of these methods myself but I'm unable to work with OpenCV.So can anyone of you help me install OpenCV for python 3.5.1?

I'm using anaconda along with Pycharm in windows

Or is this not possible and i have to use python 2.7?

Thanks in advance

Upvotes: 10

Views: 91727

Answers (5)

Saily_Shah
Saily_Shah

Reputation: 85

For OS:Windows 10 and Python version: 3.5.1 & 3.6, this worked for me

pip install opencv-contrib-python

Upvotes: 1

Vikash Kumar
Vikash Kumar

Reputation: 348

Quick solution for anaconda users - Go to anaconda prompt run -

conda install opencv

Upvotes: 3

Dhruv Marwha
Dhruv Marwha

Reputation: 1074

For anyone who would like to install OpenCV on Python 3.5.1,use this library called

opencv-contrib-python

This library works for Python 3.5.1

Upvotes: 6

Laurens_vg
Laurens_vg

Reputation: 81

  1. First you need to install Microsoft Visual C++ 2015 Redistributable, which you can download from https://www.microsoft.com/en-us/download/details.aspx?id=53587.
  2. Then you can download the wheel file from http://www.lfd.uci.edu/~gohlke/pythonlibs/#opencv. Make sure you download the file which corresponds to your python version. For example: my python version is 3.5 so I downloaded opencv_python-3.2.0+contrib-cp35-cp35m-win_amd64.whl.

  3. And install it with "pip install filename".

Upvotes: 8

Hsiao Yi
Hsiao Yi

Reputation: 135

I don't really know how we can help you. Because you didn't specify the OS. As far as I know, there are many resources in answers.opencv.org. A question similar what you asked is answered here.

Upvotes: 2

Related Questions