Using Anaconda, which we installed in the previous section, OpenCV can be installed on both Linux and macOS as follows (this is OpenCV with only the Python library):
conda install -c conda-forge opencv