Ok, so here it is: I had installed the PyQt4 (Qt 4.8.4) binaries from the PyQt site, which include the Qt bins also. My hypothesis is that these binaries were built with MinGW.
I had a separate Qt 4.8.4 install on my computer, that I built with msvc2010. My OpenCV install (also built with msvc2010) was linked against this install. My hypothesis is that the PtQt-included Qt binaries were somehow not compatible with the Qt binaries from my install. This is reinforced by the fact that you cannot build opencv with msvc linked to qt binaries built with mingw - cmake will give an error to that effect (produces incompatible code). Anyways, I built PyQt4 from source, with msvc2010, linked against my existing Qt binaries. Seems to work fine now. Thanks to all! On Thursday, May 9, 2013 8:02:22 PM UTC-4, ftherien wrote: > > Hi! I recently installed OpenCV. It seems to works correctly in any python > shell (idle, or python started on the command line), but in spyder I get > the following: > > >> import cv2 > ImportError: DLL load failed: La procédure spécifiée est introuvable. > (sorry for the french, rough translation would be "Specified procedure > could not be found") > -- You received this message because you are subscribed to the Google Groups "spyder" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/spyderlib?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
