How to Install OpenCV With Python

Written by tammy clevenger
  • Share
  • Tweet
  • Share
  • Email

Python is a programming language that is used in Linux-based systems. OpenCV is a collection of libraries that is used in software development. OpenCV with Python is installed to Linux-based operating systems such as Ubuntu. To install OpenCV along with Python, in Ubuntu use the Synaptic Package Manager application. Synaptic provides an easy-to-use installation interface, and the application will make sure that all dependencies are downloaded along with OpenCV and Python.

Skill level:
Moderately Easy


  1. 1

    Click the "System" option on the top taskbar in the Ubuntu desktop.

  2. 2

    Click the "Administration" link, and then click "Synaptic Package Manager." A password prompt appears. Authenticate by typing the "Administrator" password and clicking "OK." The Synaptic Package Manager opens.

  3. 3

    Type "openCV" into the "Quick Search" box in the upper right corner of the top navigation bar in Synaptic. As you type, programs will list in the search results list.

  4. 4

    Click on the "Python-OpenCV" entry and then click "Mark for Installation." A dialogue box will open with a list of dependency files and libraries that will be installed along with your selection. Click "OK."

  5. 5

    Click on the "OpenCV-Doc" entry and then click "Mark for Installation."

  6. 6

    Click the "Apply" button in the top navigation bar of Synaptic. The OpenCV libraries, along with the Python program, is installed to the system. A notification appears when the installation is complete.

Don't Miss

  • All types
  • Articles
  • Slideshows
  • Videos
  • Most relevant
  • Most popular
  • Most recent

No articles available

No slideshows available

No videos available

By using the site, you consent to the use of cookies. For more information, please see our Cookie policy.