Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #91462

Re: OpenCV with Python (cv or cv2)

Date 2015-05-29 11:29 -0300
From Markos <markos@c2o.pro.br>
Subject Re: OpenCV with Python (cv or cv2)
References <5564740E.3090206@c2o.pro.br> <201505261421.t4QELBUd015477@fido.openend.se><55664B83.30809@c2o.pro.br> <201505280447.t4S4lk3J006383@fido.openend.se>
Newsgroups comp.lang.python
Message-ID <mailman.183.1432910774.5151.python-list@python.org> (permalink)

Show all headers | View raw


Hi Laura,

I will follow your advice and install Debian 8.0. I was postponing this 
upgrade. :^)

I just find that Jessie is the new stable release.

According to the tutorial:

http://milq.github.io/install-opencv-ubuntu-debian/

the simplest way to install opencv in jessie is:

apt-get install python-dev libopencv-opencv

And from what I saw the opencv package available in the repository is 2.4.9

https://packages.debian.org/jessie/python-opencv

And from what I saw on the site:

https://packages.debian.org/jessie/python3
and
https://packages.debian.org/jessie/python

There are packages in the repository for python 3.4.2-2 and 2.7.9-1

My doubt is which version of Python (3.4.2-2 or 2.7.9-1) is compatible 
with the opencv library 2.4.9 available in the repository?

Thanks for your attention,
Markos


On 28-05-2015 01:47, Laura Creighton wrote:
> Your cmake output doesn't mention that it tried to build libcv.so
> so, I guess the reason you cannot find it is that it never tried
> to make it.
>
> You may already have fixed your problem by just installing the relevant
> debian package.  If not, it may be that you need to install this one
> https://packages.debian.org/squeeze/libcv-dev to get libcv.
>
> You have another problem. Squeeze is _very_ old.
> According to http://stackoverflow.com/questions/5212728/libcxcore-so-2-missing-in-opencv
> the opencv project renamed a bunch of libraries, so if at all possible you
> should upgrade your debian distribution.  You may have all sorts of
> mismatches between the source you just built and the libraries you
> need -- which you will only find by trial and error.
>
> Laura
>
>    

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: OpenCV with Python (cv or cv2) Markos <markos@c2o.pro.br> - 2015-05-29 11:29 -0300

csiph-web