Install missing python packages in Anaconda

Anaconda is a free and open source platform of Python and R for scientific computing. It is the easiest way to start Python with ZERO configuration whatever the version you like. Anaconda Installer available with Python 2.7 and Python 3.7 and it’s depends on you to download the version accordingly.

https://www.anaconda.com/download/#macos

Anaconda has bunch of packages preinstalled into with it but for some specific packages like OpenCV, of cause you need to install it by yourself.

Installing OpenCV

It is very easy to install OpenCV with Anaconda. First, open the Anaconda Navigator. After that find the Environments Tab on the left side and click on it. On the right side of the Environments Tab, you will find all the installed packages with Anaconda Navigator. There is a dropdown with Not Installed value that you have to select and search for the OpenCV package like the below screenshot.

Anaconda Navigator OpenCV installation

Now select the checkbox just before the OpenCV and click on the Apply button in the right bottom side.

OpenCV installation Step 2

After clicking on the Apply button, The system starts discovering of related packages and will show all the packages that includes with OpenCV.

OpenCV Packages Discovery

Just press the Apply button on the on the Install Packages popup box and wait until the download process finish. The download process depends on the internet speed.

After completing the download process, go to the Jupyter Notebook and check the version of the OpenCV with following codes.

import cv2
cv2.__version__

Hope this helps you to install the OpenCV.