How to configure opencv3.2.0 in Python3.5.3

Source: Internet
Author: User
This time to everyone in the Python3.5.3 should be how to configure the opencv3.2.0, in the Python3.5.3 configuration opencv3.2.0 the attention of matters, the following is the actual case, together to see.

1. Installing NumPy

Go to the Python installation directory under Lib under the Site-packages folder to open cmd input pip install numpy download numpy

The NumPy system is an open-source numerical extension of Python. This tool can be used to store and manipulate large matrices, which is much more efficient than Python's own nested list (nested list structure) structure, which is also useful for representing matrices (matrix). It is said that NumPy Python is the equivalent of becoming a free, more powerful MatLab system.

2. Download OpenCV

Here is the opencv3.2.0 64-bit download

3. Installing OPENCV

Copy the downloaded OPENCV 3.2.0 module to the Python installation directory lib\site-packages, enter pip install Opencv_python-3.2.0+contrib-cp35-cp35m-win_ Amd64.whl

4. MSVCP140.dll Library

If the computer does not have this library, it will be in the import cv2 module times wrong

Import Cv2traceback (Mostrecent call last): File "<stdin>", Line1,in <module>

Importerror:dllload failed: The specified module could not be found.

Download Microsoft Visual C + + redistributable and install

5. Testing

This time no error, representative configuration success!

Believe that you have read the case of this article you have mastered the method, more exciting please pay attention to the PHP Chinese network other related articles!

Recommended reading:

Python how to read and write TXT file line-wise

Python how to bulk read TXT file to dataframe format

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.