OpenCV_Problem

Rami Chowdhury rami.chowdhury at gmail.com
Fri Aug 20 07:58:50 EDT 2010


On Thu, Aug 19, 2010 at 13:47, arihant nahata <forever.arihant at gmail.com> wrote:
> I m new to python and openCV. i installed openCV and python and copied the necessary folder. and even appended the sys.path. but then too the same error.
>
> from opencv import cv
>
> File "C:\Python26\lib\site-packages\opencv\__init__.py", line 74, in
>
> <module>
>   from cv import *
> File "C:\Python26\lib\site-packages\opencv\cv.py", line 25, in <module>
>
 >  _cv = swig_import_helper()
 > File "C:\Python26\lib\site-packages\opencv\cv.py", line 21, in
> swig_import_helper
>    _mod = imp.load_module('_cv', fp, pathname, description)
> ImportError: DLL load failed: The specified module could not be found.
>
> can you help me with this??
[next message]
> This is what i have,
>
> >>> print sys.path
>
> ['', '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',
> 'C:\\OpenCV2.0\\Python2.6\\Lib\\site-pack
> ages']
[next message]
>>    There is no file named _cv.dll file in the directory that you mentioned
> what to do now.???

Well, we've established that the '_cv' module really isn't present.
Which makes me wonder if the OpenCV installation went correctly, or if
you've added the right paths. However, as I'm not an OpenCV expert, I
don't know where to look next.

If no one on the Python mailing list can help, you could also try the
OpenCV mailing list: http://tech.groups.yahoo.com/group/OpenCV/

HTH,
Rami

-- 
Rami Chowdhury
"Never assume malice when stupidity will suffice." -- Hanlon's Razor
408-597-7068 (US) / 07875-841-046 (UK) / 0189-245544 (BD)



More information about the Python-list mailing list