allaboutbad.blogg.se

Ubuntu python
Ubuntu python








ubuntu python

We need CMake to configure the installation, GCC for compilation, Python-devel and Numpy for building Python bindings etc. You can skip optional dependencies if you don't want. Building OpenCV from sourceĬompiling from source may seem a little complicated at first, but once you succeeded in it, there is nothing complicated.įirst we will install some dependencies. Dont use the python-scrapy package provided by Ubuntu. Also at some point in time, if you want to contribute to OpenCV, you will need this. Alternatively, if youre already familiar with installation of Python packages, you can install. So for getting latest source codes preference is next method, i.e. Typing python at the shell prompt still launches Python 2.

ubuntu python

With respect to Python API, latest version will always contain much better support and latest bug fixes. Ubuntu 16.04 comes with both Python 2 and Python 3 installed. For example, at the time of writing this tutorial, apt repository contains 2.4.8 while latest OpenCV version is 3.x. Apt repositories may not contain the latest version of OpenCV always. If the results are printed out without any errors, congratulations !!! You have installed OpenCV-Python successfully.










Ubuntu python