UPDATE: The tutorial you are reading now covers how to install OpenCV 3.0 with Python 2.7+ bindings on Ubuntu 14.04. How to Install OpenCV 3.0 and Python 2.7+ on Ubuntu But for the time being, let’s stick with Python 2.7. If you would like to use OpenCV 3.0 and Python 3+ on your Ubuntu system, please keep an eye on this blog - I will be posting OpenCV 3.0 and Python 3+ install instructions later this month. In an effort to keep each article self-contained and easy to follow, I am creating separate OpenCV 3.0 install tutorials for Python 2.7 and Python 3+. However, the install instructions are slightly different between Python 2.7+ and Python 3+. I have personally tested these instructions on Ubuntu 14.04, but they should pretty much work on any Debian-based operating system.Ī quick note before we get started: Yes, OpenCV 3.0 is indeed compatible with Python 3+. In the remainder of the post I will provide instructions on how to configure and install OpenCV 3.0 and Python 2.7+ on Ubuntu. Today we are going to continue the OpenCV 3.0 install instruction series by moving over to the Ubuntu operating system. Last week we kicked-off the OpenCV 3.0 install fest by detailing how to install OpenCV 3.0 and Python 2.7+ on the OSX platform.
So being a programmer or developer helps to have the latest version of Python up and running on your system.Click here to download the source code to this post This way, we can make our daily tasks easier, simpler, and accurate.
In the modern era of computing, it is pertinent that we keep our systems updated, our software free of viruses, and our utilities upgraded to their latest versions. In short, for those who haven’t already, consider upgrading your Python to version 3.5 or later. So if you happen to be just starting off with this programming language, it’s better to leave the veterans to the old ones and start your journey with a fresh and minted version of Python. Similarly, Facebook is catching up and is upgrading its infrastructure to Python 3.4 and later.įurthermore, Python 3 is easier to understand and learn for beginners.
For instance, Instagram migrated its code-base from Python 2.7 to Python 3 in 2017. However, as the technology progresses, more and more companies are moving toward Python3. Some companies also use Python 2 for all their work. Python 2.0 is still used in many Linux systems as the default version. However, it is understandable if you are trying to install an outdated version on purpose if some feature you need was removed later. The latest versions have more tools and libraries at your disposal, so it makes sense to use the later versions. Python 2.0 was released in 2000, Python 2.7 in 2010, whereas Python 3.0 was released in 2008, and Python 3.6 in 2016. It makes sense that as time passes by, a utility or programming language progresses in terms of features and performance. Now that we have covered the meat of the matter let’s talk about which Python version you should get and why. Why you should install Python 3.5 or later You can do the same for any particular version of your choice. Once it’s done, you can check whether the installation was successful or not by simply running the commands we mentioned at the start.Īs you can tell from the image, we have successfully downgraded from Python 3.8.5 to Python 2.7.12.
The installation process, while it is straightforward and simple, should take a few minutes to complete.