mpeaton / pyopencv

Automatically exported from code.google.com/p/pyopencv
0 stars 0 forks source link

Windows distributives don't wok in rev254 and subsequent #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello!
When I download revisions up to 253 and try to import pyopencv from
'win32_dist_py2.6' it works normally. But since rev254 import fails. 

Traceback (most recent call last):
  File "<interactive input>", line 1, in <module>
  File "D:\system\Desktop\py_354\win32_dist_py2.6\pyopencv\__init__.py", 
line 26, in <module>
    from pyopencvext import *
ImportError: DLL load failed: The specified module could not be found.

Operating system & environment: WinVista, python 2.6.

Original issue reported on code.google.com by iamosk...@gmail.com on 20 Jan 2010 at 9:52

GoogleCodeExporter commented 9 years ago
Thanks. That one is still experimental. Could you please try the latest 
distribution
I've uploaded to the Download page?

Original comment by pmtri80@gmail.com on 29 Jan 2010 at 12:23

GoogleCodeExporter commented 9 years ago
In fact, I'm going to remove that win32_dist_py2.6 folder pretty soon.

Original comment by pmtri80@gmail.com on 29 Jan 2010 at 12:23

GoogleCodeExporter commented 9 years ago
I'd like to close this issue as the windows distribution folder has been 
removed.

Original comment by pmtri80@gmail.com on 29 Jan 2010 at 2:23

GoogleCodeExporter commented 9 years ago
I'm sorry for the late answer. I've tried the latest distribution from the 
Download 
page but the same ImportError which I have descripted occur in this case too. 

Original comment by iamosk...@gmail.com on 2 Feb 2010 at 1:33

GoogleCodeExporter commented 9 years ago
Let's try to nail down where the problem is. The error implies that one of the
required DLLs is not found/loaded. Have you included any path in the
"opencv_runtime_library_dirs" variable and the "boost_runtime_library_dirs" 
variable
in the `config.py` file during setup?

Original comment by pmtri80@gmail.com on 3 Feb 2010 at 1:44

GoogleCodeExporter commented 9 years ago
Maybe I misunderstood the installation rules? I've installed pyopencv from 
exe-file 
which I has taken on the Downloads page (pyopencv-2.0.wr1.0.0.win32-py2.6.exe). 
In 
this case, as I think, there is no need to do anything except several mouse 
clicks? Am 
I wrong?

Original comment by iamosk...@gmail.com on 3 Feb 2010 at 2:25

GoogleCodeExporter commented 9 years ago
Oh I see. You were right. Sorry I misunderstood you. I think I may have missed 
a DLL
file in the bundled exe file. Could you check on your system to see if the 
following
DLL files exist and their location is included in the PATH environment variable?

msvcrt.dll
python26.dll
pthreadGC2.dll

Original comment by pmtri80@gmail.com on 3 Feb 2010 at 10:39

GoogleCodeExporter commented 9 years ago
It is seamed that pthreadGC2.dll is missing. When I copy such dll from another 
app 
directory  to system32, the import executes without any mistakes.

Original comment by iamosk...@gmail.com on 3 Feb 2010 at 1:30

GoogleCodeExporter commented 9 years ago
Thanks for letting me know. How careless I was! I will include that 
'pthreadGC2.dll'
file in the next release.

Cheers,
Minh-Tri

Original comment by pmtri80@gmail.com on 3 Feb 2010 at 6:39

GoogleCodeExporter commented 9 years ago
Thank you too:)

Original comment by iamosk...@gmail.com on 3 Feb 2010 at 7:02