uninstall cv2 code example
Example: uninstall cv2 in pi
If you installed using pip. sudo pip uninstall opencv.
If you Installed using apt-get. sudo apt-get remove python-opencv. sudo apt-get purge python-opencv.
If you installed using pip. sudo pip uninstall opencv.
If you Installed using apt-get. sudo apt-get remove python-opencv. sudo apt-get purge python-opencv.