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,870 points
113 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,160 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 in Python by Arvind
• 2,960 points
29 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 in Python by Priyaj
• 56,900 points
62 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,170 points
245 views
0 votes
1 answer

How to install OpenCV for python3 in Ubuntu?

I found this: https://pypi.python.org/pypi/opencv-python OpenCV on wheels 'Unofficial OpenCV packages ...READ MORE

answered Nov 28, 2018 in Python by Nymeria
• 3,520 points
560 views
+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 6 in Python by Neha
• 330 points

edited Jul 8 by Kalgi 288 views
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,160 points
36 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 in Python by SDeb
• 13,160 points
120 views