How to install OpenCV for Python 2 7

0 votes
Hi, I am trying to install OpenCV and make it work on Windows 7. I download and installed it but it showed the following error:

"ImportError: No module named opencv"
Nov 14, 2018 in Python by ana1504.k
• 7,910 points
2,370 views

1 answer to this question.

0 votes
The official OpenCV installer does not install the Python bindings into your Python directory. There should be a Python2.7 directory inside your OpenCV 2.2.0 installation directory. Try to Copy the whole Lib folder from OpenCV\Python2.7\ to C:\Python27\ and make sure your OpenCV\bin directory is in the Windows DLL search path.
answered Nov 14, 2018 by SDeb
• 13,300 points

Related Questions In Python

+1 vote
1 answer

How to install scipy for Python 2.7?

Open the command prompt and follow these ...READ MORE

answered Jul 4, 2019 in Python by Arvind
• 3,050 points
2,957 views
0 votes
1 answer

How to change python version into 3.7.2 for entire pycharm jetbrains IDE projects?

Navigate to the Project page, select the configured interpreters ...READ MORE

answered Feb 27, 2019 in Python by Priyaj
• 58,020 points
3,422 views
0 votes
1 answer

How to Install pip for python 3.7 on Ubuntu 18?

The command you're looking for is: python3.7 -m ...READ MORE

answered Nov 20, 2020 in Python by Gitika
• 65,770 points
9,648 views
0 votes
1 answer

Installing OpenCV for Python 2.7

Now from OpenCV 2.2.0, the package name ...READ MORE

answered Nov 15, 2018 in Python by findingbugs
• 3,260 points
2,329 views
0 votes
2 answers
+1 vote
2 answers

how can i count the items in a list?

Syntax :            list. count(value) Code: colors = ['red', 'green', ...READ MORE

answered Jul 7, 2019 in Python by Neha
• 330 points

edited Jul 8, 2019 by Kalgi 4,466 views
0 votes
1 answer
0 votes
1 answer

How is Python 2.7.3 and Python 3.3 different?

raw_input() is not used in Python 3. Use input()  ...READ MORE

answered Sep 12, 2018 in Python by SDeb
• 13,300 points
939 views
0 votes
1 answer

Bash alias --> Python 2.7 to Python 3.3

Some linux utilities depend on python2.x currently. ...READ MORE

answered May 9, 2019 in Python by SDeb
• 13,300 points
2,759 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP