I have installed OpenCV 3.0 on my MacBook pro with Yosemite. Unfortunately, after the installation, I realized that I needed the version 2.4.9 of OpenCV since I'm going to use some libraries that are not already supported by version 3.0.
How can I completely remove the 3.0 version? Is it enough to delete the OpenCV folder?
Step 1: remove OpenCV version 3 or higher
>> pip uninstall opencv-contrib-python //do this if you installed opencv-contrib-python
OR
>> pip uninstall opencv-python // do this if this is your first time
Step 2: download OpenCV version 2.4.9 from Github and save it to your local computer.
Step 3: go to the folder wherever you downloaded, then install OpenCV 2.4.9
You are all set.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.