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


Groups > comp.lang.python > #28935

Re: pythonOCC examples doesn't work?

Path csiph.com!usenet.pasdenom.info!dedibox.gegeweb.org!gegeweb.eu!nntpfeed.proxad.net!proxad.net!feeder1-2.proxad.net!usenet-fr.net!nerim.net!novso.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <python-python-list@m.gmane.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.005
X-Spam-Evidence '*H*': 0.99; '*S*': 0.00; 'python,': 0.02; 'binary': 0.05; '64-bit': 0.07; 'python': 0.09; '32-bit': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; '*must*': 0.16; '.dll': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'uninstall': 0.16; 'url:faq': 0.16; 'wiki,': 0.16; 'wrote:': 0.17; 'pointed': 0.17; 'version.': 0.17; 'load': 0.19; 'discussion': 0.20; 'context.': 0.22; 'apps': 0.23; "i've": 0.23; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'url:wiki': 0.26; 'easiest': 0.27; 'forgot': 0.27; 'header:X-Complaints-To:1': 0.28; 'run': 0.28; 'astronomy': 0.29; 'this.': 0.29; 'install': 0.29; 'version,': 0.30; 'expect': 0.31; 'url:python': 0.32; 'from:addr:yahoo.co.uk': 0.32; 'google,': 0.32; 'substantial': 0.33; 'problem': 0.33; 'to:addr:python-list': 0.33; 'themselves': 0.33; 'version': 0.34; 'list': 0.35; 'subject:?': 0.35; 'there': 0.35; 'received:org': 0.36; '2010.': 0.36; 'but': 0.36; 'url:org': 0.36; 'limitation': 0.36; 'visual': 0.36; 'useful': 0.36; 'should': 0.36; 'plans': 0.37; 'data': 0.37; 'subject:: ': 0.38; 'mark': 0.38; 'from:': 0.38; 'some': 0.38; 'url:docs': 0.38; 'to:addr:python.org': 0.39; 'header:Received:5': 0.40; 'between': 0.63; 'it!': 0.64; 'url:10': 0.65; 'url:%1': 0.68; 'url:wordpress': 0.75; 'impressive,': 0.84; 'investment.': 0.84; 'ships': 0.84; 'suspected': 0.84; 'url:03': 0.84; 'dennis': 0.91; 'url:%2b': 0.93
X-Injected-Via-Gmane http://gmane.org/
To python-list@python.org
From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: pythonOCC examples doesn't work?
Date Wed, 12 Sep 2012 08:37:16 +0100
References <af4c9164-238f-4a94-8ed1-7c767f8c51bf@googlegroups.com> <k2para$298$1@ger.gmane.org> <CA+vVgJVgPVMNWYEQjVhj0zGko9ztjeaXdSQ-J19Xaqsn0-vCUg@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Gmane-NNTP-Posting-Host host-78-146-13-33.as13285.net
User-Agent Mozilla/5.0 (Windows NT 6.0; rv:15.0) Gecko/20120907 Thunderbird/15.0.1
In-Reply-To <CA+vVgJVgPVMNWYEQjVhj0zGko9ztjeaXdSQ-J19Xaqsn0-vCUg@mail.gmail.com>
X-Antivirus avast! (VPS 120911-1, 11/09/2012), Outbound message
X-Antivirus-Status Clean
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.543.1347435436.27098.python-list@python.org> (permalink)
Lines 48
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1347435436 news.xs4all.nl 6963 [2001:888:2000:d::a6]:55289
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:28935

Show key headers only | View raw


On 12/09/2012 08:19, Dwight Hutto wrote:
> So used to google, forgot to check the python docs:
>
> http://docs.python.org/faq/windows.html
>
> and this should be useful as well, which is from:
>
> http://stackoverflow.com/questions/5030362/how-to-use-opencv-in-python
>
>    "I suspect you have the same problem I've run into. If you have a 64-bit
> version of Python, it cannot load 32-bit DLLs. OpenCV currently only ships
> 32-bit binaries. If you want 64-bit .pyd and .dll files, you have to
> compile them yourself. There are some
> instructions<http://opencv.willowgarage.com/wiki/VisualC%2B%2B>on the
> OpenCV Wiki, but it's not for the faint of heart. Expect to have a
> substantial time investment.
>
> The easiest solution is to:
>
>     1. Uninstall 64-bit Python
>     2. Install a 32-bit distribution.
>
> The PythonXY distribution includes pyopencv -- a good set of OpenCV hooks.
> The only limitation is that it's 32-bit, so don't make plans to process
> gigapixel astronomy data with it! ;)
>
> If you *must* have the 64-bit version, follow these
> instructions<http://redkiing.wordpress.com/2010/10/03/opencv-and-visual-studio-2010-with-cmake/>to
> get it OpenCV to compile with Visual Studio 2010. There's a discussion
> on stackoverflow that describes building 64-bit apps with VC Express."
>
>
> And again, check on the pywin mailing list
>
>

All very impressive, but as Dennis Lee Bieber has pointed out and which 
I suspected there is a binary incompatibility between the OP's Python 
version and pythonOCC version.  Others would be able to see this for 
themselves but you insist on sending email without context.  Please 
don't do this.


-- 
Cheers.

Mark Lawrence.

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


Thread

pythonOCC examples doesn't work? Jayden <jayden.shui@gmail.com> - 2012-09-11 21:02 -0700
  Re: pythonOCC examples doesn't work? Marco Nawijn <nawijn@gmail.com> - 2012-09-11 21:42 -0700
  Re: pythonOCC examples doesn't work? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-12 07:41 +0100
  Re: pythonOCC examples doesn't work? Mark Lawrence <breamoreboy@yahoo.co.uk> - 2012-09-12 08:37 +0100
  Re: pythonOCC examples doesn't work? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-12 04:12 -0400
  Re: pythonOCC examples doesn't work? jelle <jelleferinga@gmail.com> - 2012-09-12 08:12 -0700
    Re: pythonOCC examples doesn't work? Jayden <jayden.shui@gmail.com> - 2012-09-12 10:03 -0700
  Re: pythonOCC examples doesn't work? Terry Reedy <tjreedy@udel.edu> - 2012-09-12 16:58 -0400
  RE: pythonOCC examples doesn't work? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-13 23:26 +0000
  Re: pythonOCC examples doesn't work? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-13 21:11 -0400
  Re: pythonOCC examples doesn't work? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-13 21:14 -0400
  Re: pythonOCC examples doesn't work? Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2012-09-13 22:55 -0400
  Re: pythonOCC examples doesn't work? Chris Angelico <rosuav@gmail.com> - 2012-09-14 17:30 +1000
  Re: pythonOCC examples doesn't work? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-14 03:49 -0400
  Re: pythonOCC examples doesn't work? Chris Angelico <rosuav@gmail.com> - 2012-09-14 18:15 +1000
  RE: pythonOCC examples doesn't work? "Prasad, Ramit" <ramit.prasad@jpmorgan.com> - 2012-09-14 22:51 +0000
  Re: pythonOCC examples doesn't work? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-14 23:47 -0400
  Re: pythonOCC examples doesn't work? Chris Angelico <rosuav@gmail.com> - 2012-09-15 13:53 +1000
  Re: pythonOCC examples doesn't work? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-15 00:40 -0400
  Re: pythonOCC examples doesn't work? MRAB <python@mrabarnett.plus.com> - 2012-09-15 18:26 +0100
  Re: pythonOCC examples doesn't work? Dwight Hutto <dwightdhutto@gmail.com> - 2012-09-17 02:44 -0400
  BDFL Rossenbom, was Re: pythonOCC examples doesn't work? Peter Otten <__peter__@web.de> - 2012-09-17 09:24 +0200

csiph-web