Ask Your Question
-2

Error in installing Opencv on Windows 10

asked 2019-03-05 01:16:50 -0600

abdulwajid016 gravatar image

updated 2019-03-05 01:44:43 -0600

I am trying to install opencv on windows 10 and i got that error

Python 2.7.5 (default, May 15 2013, 22:43:36) [MSC v.1500 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information.

import cv2 Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\cv2__init__.py", line 89, in <module> bootstrap() File "C:\Python27\lib\site-packages\cv2__init__.py", line 62, in bootstrap ], True) File "C:\Python27\lib\site-packages\cv2__init__.py", line 56, in load_first_config raise ImportError('OpenCV loader: missing configuration file: {}. Check OpenCV installation.'.format(fnames)) ImportError: OpenCV loader: missing configuration file: ['config-2.7.py', 'config-2.py']. Check OpenCV installation. import cv2 ['', 'C:\WINDOWS\SYSTEM32\python27.zip', 'C:\Python27\DLLs', 'C:\Python27\lib', 'C:\Python27\lib\plat-win', 'C:\Python27\lib\lib-tk', 'C:\Python27', 'C:\Python27\lib\site-packages'] Traceback (most recent call last): File "<stdin>", line 1, in <module> File "C:\Python27\lib\site-packages\cv2__init__.py", line 89, in <module> bootstrap() File "C:\Python27\lib\site-packages\cv2__init__.py", line 23, in bootstrap raise ImportError('ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.') ImportError: ERROR: recursion is detected during loading of "cv2" binary extensions. Check OpenCV installation.

I am following that link link text

Numpy and Matlotlib also installed

I have both python 3 and python 2. Is there any problem due to it?

edit retag flag offensive close merge delete

Comments

what exactly are you trying to install ? (and from where ?)

berak gravatar imageberak ( 2019-03-05 02:16:14 -0600 )edit

I want to install opencv on windows

abdulwajid016 gravatar imageabdulwajid016 ( 2019-03-05 03:38:40 -0600 )edit

which version ? from where ?

berak gravatar imageberak ( 2019-03-05 04:11:18 -0600 )edit

And in which point of the guide that you've linked you got this error?

HYPEREGO gravatar imageHYPEREGO ( 2019-03-05 04:23:34 -0600 )edit

when i try import cv2

abdulwajid016 gravatar imageabdulwajid016 ( 2019-03-05 04:55:02 -0600 )edit

can you try to answer my question(s) ?

berak gravatar imageberak ( 2019-03-05 04:59:47 -0600 )edit

opencv version3
it can be from anywhere I want to install it on windor

abdulwajid016 gravatar imageabdulwajid016 ( 2019-03-05 05:05:58 -0600 )edit

it can be from anywhere

no, different sources will have different issues. be as concise as possible, else noone knows, what you're talking about

opencv version3

really ? it sounds like a current opencv4 issue

berak gravatar imageberak ( 2019-03-05 05:10:01 -0600 )edit

what will be the solution?

abdulwajid016 gravatar imageabdulwajid016 ( 2019-03-05 05:16:25 -0600 )edit

solution for what, exactly ? (we're going in circles here !)

berak gravatar imageberak ( 2019-03-05 05:18:07 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-03-05 03:47:35 -0600

Rounak gravatar image

Hey there, As I have provided the link which can be helpful to install open CV. You can Refer this link and hope that your issue is resolved.

https://docs.opencv.org/2.4/doc/tutor...

Thanks

edit flag offensive delete link more

Comments

sorry, but 2.4 was years ago, current problem will be unrelated

berak gravatar imageberak ( 2019-03-05 03:54:48 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2019-03-05 01:16:50 -0600

Seen: 4,438 times

Last updated: Mar 05 '19