Reputation: 748
I have installed OpenCV 3.4.2 successfully by following the tutorial given here:
https://www.pyimagesearch.com/2015/07/20/install-opencv-3-0-and-python-3-4-on-ubuntu/
Now, I would like to update to openCV 4 or the latest stable version.
Do I need to uninstall 3.4.2 first? If so, how should I uninstall it.
I am afraid to creating another virtual environment and installing version 4 or master package from github by following the same steps might create conflicts. Please advice.
Working on Ubuntu 16.04 LTS, python 3.5
Upvotes: 1
Views: 6811
Reputation: 656
For Python interface, I guess you can try something like pip install opencv-python==4.0.0.21
. Note, you might need to run pip3 install opencv-python==4.0.0.21
depending upon your pip version.
Upvotes: 4