Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #91465
| Path | csiph.com!usenet.pasdenom.info!news.redatomik.org!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <rosuav@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.022 |
| X-Spam-Evidence | '*H*': 0.96; '*S*': 0.00; 'subject:Python': 0.05; 'installed.': 0.05; 'repository': 0.05; 'cc:addr:python-list': 0.10; 'python': 0.11; 'package,': 0.13; 'from:addr:rosuav': 0.16; 'from:name:chris angelico': 0.16; 'personally,': 0.16; 'repo,': 0.16; 'url:debian': 0.16; 'url:packages': 0.16; 'wrote:': 0.16; 'library': 0.20; 'cc:2**0': 0.21; 'cc:addr:python.org': 0.21; 'am,': 0.23; '2015': 0.23; 'sat,': 0.23; 'header:In-Reply-To:1': 0.24; 'install': 0.25; 'compatible': 0.27; 'message- id:@mail.gmail.com': 0.28; "i'd": 0.31; 'url:python': 0.33; 'doubt': 0.33; 'version:': 0.33; 'case,': 0.34; 'received:google.com': 0.34; "isn't": 0.35; 'but': 0.36; 'url:org': 0.36; 'there': 0.36; 'subject:: ': 0.37; 'version': 0.38; 'sure': 0.40; 'subject:with': 0.40; 'subject: (': 0.40; 'skip:u 10': 0.62; 'show': 0.62; '30,': 0.63; 'site:': 0.75; 'saw': 0.76; 'apt-get': 0.84; 'chrisa': 0.84; 'pip': 0.84; 'python-dev': 0.84; 'to:none': 0.90; '"apt-get': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:cc :content-type; bh=ZZM7ZXNndko+RvNlkTeOufjGTiOCGr01pQoSZbIDnBU=; b=JWbwlrnChXosO4U9PnquLBLWE8gcijxU3gMZT6u5Vbpo3eZh97yXKU9KzRUxvzIyH+ UbQ2t1kGCZ3GgwVFv27pg8Cpmo0jhMUuCbvIFEYEIEFJ0wF4EVhVE47Sgm1J1k4/QlMK l2Ypyu0BMliTfENdCbDIEt+RZeLKwl2gqxFqs0GCW1bAdN8UCFjrjn+ceawjwjLDIcZ7 NmN0tToWr0hFo1+T+G748Sz/ooNkmw845XZqsodZ1LMxXk9m4d7K0orhIIBAr1UXqjSu CI2s9HeZeZAI5VgprtwS4Ig+c+TqsOs7w+VNrLKVR/KTAUQuN+5pacgOzxi6i7F8nury 3Wkw== |
| MIME-Version | 1.0 |
| X-Received | by 10.107.160.141 with SMTP id j135mr10758276ioe.43.1432911068819; Fri, 29 May 2015 07:51:08 -0700 (PDT) |
| In-Reply-To | <556877AF.5050202@c2o.pro.br> |
| References | <5564740E.3090206@c2o.pro.br> <201505261421.t4QELBUd015477@fido.openend.se> <55664B83.30809@c2o.pro.br> <201505280447.t4S4lk3J006383@fido.openend.se> <556877AF.5050202@c2o.pro.br> |
| Date | Sat, 30 May 2015 00:51:08 +1000 |
| Subject | Re: OpenCV with Python (cv or cv2) |
| From | Chris Angelico <rosuav@gmail.com> |
| Cc | "python-list@python.org" <python-list@python.org> |
| Content-Type | text/plain; charset=UTF-8 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.187.1432911071.5151.python-list@python.org> (permalink) |
| Lines | 41 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1432911071 news.xs4all.nl 2869 [2001:888:2000:d::a6]:54076 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:91465 |
Show key headers only | View raw
On Sat, May 30, 2015 at 12:29 AM, Markos <markos@c2o.pro.br> wrote: > 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? Since it's managed by the Debian repo, you can simply look at its dependencies. In this case, python-opencv is built for Python 2, not Python 3, so it'll pull in Python 2.7.9-1. Unfortunately there isn't a corresponding python3-opencv package, so I don't know how hard it would be to install for Python 3.4.2; but personally, I'd just try using pip to install it. $ apt-cache show python-opencv Version: 2.4.9.1+dfsg-1+b1 Depends: python (<< 2.8), python:any (>= 2.7.5-5~), python (>= 2.7~), libc6 (>= 2.14), libgcc1 (>= 1:4.1.1), libopencv-calib3d2.4, libopencv-contrib2.4, libopencv-core2.4, libopencv-features2d2.4, libopencv-flann2.4, libopencv-highgui2.4, libopencv-imgproc2.4, libopencv-legacy2.4, libopencv-ml2.4, libopencv-objdetect2.4, libopencv-photo2.4, libopencv-video2.4, libpython2.7 (>= 2.7), libstdc++6 (>= 4.1.1), python-numpy-abi9, python-numpy (>= 1:1.6.1) If you simply "apt-get install python-opencv", it'll make sure you have the right Python installed. ChrisA
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: OpenCV with Python (cv or cv2) Chris Angelico <rosuav@gmail.com> - 2015-05-30 00:51 +1000
csiph-web