Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Building opencv-master for Python

I want to build the latest version of OpenCV (dev 3.0.0) from source. I followed the instructions in official tutorial and was able to successfully complete the build.

But importing cv2.pyd in Python (after copying to \Python27\Lib\site-packages) throws an error "ImportError: DLL load failed: The specified module could not be found."

I found 5 files named cv2.* after the build: 1. cv2.obj in \build\modules\python\opencv_python.dir\Release 2. cv2.pyd, cv2.obj, cv2.exp, cv2.pdb in \build\lib\Release

What are these files (especially the pyd files) and why aren't they usable like in 2.4.6 prebuilt version which can just be plugged into the \Python27\Lib\site-packages folder directly?

Thanks!

Building opencv-master for Python

I want to build the latest version of OpenCV (dev 3.0.0) from source. I followed the instructions in official tutorial and was able to successfully complete the build.

But importing cv2.pyd in Python (after copying to \Python27\Lib\site-packages) throws an error "ImportError: DLL load failed: The specified module could not be found."

I found 5 files named cv2.* after the build: 1. build:

  1. cv2.obj in \build\modules\python\opencv_python.dir\Release 2. \build\modules\python\opencv_python.dir\Release

  2. cv2.pyd, cv2.obj, cv2.exp, cv2.pdb in \build\lib\Release

What are these files (especially the pyd files) and why aren't they usable like in 2.4.6 prebuilt version which can just be plugged into the \Python27\Lib\site-packages folder directly?

Thanks!

Building opencv-master for Python

I want to build the latest version of OpenCV (dev 3.0.0) from source. I followed the instructions in official tutorial and was able to successfully complete the build.

But importing cv2.pyd in Python (after copying to \Python27\Lib\site-packages) throws an error "ImportError: DLL load failed: The specified module could not be found."

I found 5 files named cv2.* after the build:

  1. cv2.obj in \build\modules\python\opencv_python.dir\Release

  2. cv2.pyd, cv2.obj, cv2.exp, cv2.pdb in \build\lib\Release

What are these files (especially the pyd files) and why aren't they usable like in 2.4.6 prebuilt version which can just be plugged into the \Python27\Lib\site-packages folder directly?

Thanks!

click to hide/show revision 4
retagged

updated 2013-09-24 05:51:44 -0600

berak gravatar image

Building opencv-master for Python

I want to build the latest version of OpenCV (dev 3.0.0) from source. I followed the instructions in official tutorial and was able to successfully complete the build.

But importing cv2.pyd in Python (after copying to \Python27\Lib\site-packages) throws an error "ImportError: DLL load failed: The specified module could not be found."

I found 5 files named cv2.* after the build:

  1. cv2.obj in \build\modules\python\opencv_python.dir\Release

  2. cv2.pyd, cv2.obj, cv2.exp, cv2.pdb in \build\lib\Release

What are these files (especially the pyd files) and why aren't they usable like in 2.4.6 prebuilt version which can just be plugged into the \Python27\Lib\site-packages folder directly?

Thanks!