Mar 15, 2019 · Now let’s install the Opencv module using PIP. python pip -m install opencv_python‑4.0.1+contrib‑cp37‑cp36m‑win_amd64.whl; Now let’s install Numpy using PIP. python pip -m install numpy; The installation is complete. Now we can test it by running python and importing the libraries cv2 (for opencv) and numpy. In Build tools, install C++ build tools and ensure the latest versions of MSVCv142 - VS 2019 C++ x64/x86 build tools and Windows 10 SDK are checked. The setuptools Python package version must be at least 34.4.0.
Operating system: Windows 8 or newer, 64-bit macOS 10.13+, or Linux, including Ubuntu, RedHat, CentOS 6+, and others. If your operating system is older than what is currently supported, you can find older versions of the Anaconda installers in our archive that might work for you.
$ sudo apt-get install python-numpy $ sudo apt-get install python-scipy $ sudo apt-get install libopencv-* $ sudo apt-get install python-opencv Enter Y whenever prompted about package installation. Equivalently, we could have used Ubuntu Software Center, which is Apt's graphical frontend.