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
1,145 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,020 points
789 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,140 points
1,312 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,970 points
2,532 views
0 votes
1 answer

Installing OpenCV for Python 2.7

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

answered Nov 15, 2018 in Python by findingbugs
• 3,260 points
1,368 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 2,488 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
239 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
1,678 views