OPENCV (3.0.0beta) +python (2.7.8 64bit) simple and concrete, once again successful

Source: Internet
Author: User

See a lot of configuration articles, can not go through the process of normal

The resources used are up-to-date today:

Python-2.7.8.amd64.msi

Opencv-3.0.0-beta.exe

Numpy-mkl-1.9.1.win-amd64-py2.7.exe


Steps:

1. Download the latest Python3.4.2 after installing OpenCV said Python version number is incorrect, so uninstalled Python3.4.2 again downloaded python-2.7.8 installation. Note is 64-bit, 32-bit I did not experiment, because my machine is 64-bit

2. After installing the first step of Python, download OpenCV. Double-click directly. Do not do anything, will be in your current EXE file in the same folder to generate a OpenCV folder

3. Configure NumPy, do not configure this seems to start, just started on the official website to download the Numpy-1.9.1-win32-superpack-python2.7.exe. However, because Python is 64-bit, so can not identify the error has been found in the list of python2.7, thanks to Davfrank Blogger's blog http://blog.sina.com.cn/s/blog_82a927880102uwty.html. This page mentions some of the Python's unofficial extension package URLs. http://www.lfd.uci.edu/~gohlke/pythonlibs/, find the appropriate version number numpy-1.9.1 find a 64-bit download installation

4. Copy the Cv2.pyd in the OpenCV folder, mine is E:\opencv\build\python\2.7\x64\cv2.pyd, paste into the Python Library folder, mine is C:\Python27\Lib\ Site-packages

5. Now OpenCV folder E:\opencv\sources\samples\python2, casually open a py file, how, is not successful. I have not configured to the VS in the configuration well after. And get this log intact.

6. At this point, a day of work (not too busy) has been used. All right


OPENCV (3.0.0beta) +python (2.7.8 64bit) simple and concrete, once again successful

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.