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


Groups > comp.lang.python > #28935

Re: pythonOCC examples doesn't work?

From Mark Lawrence <breamoreboy@yahoo.co.uk>
Subject Re: pythonOCC examples doesn't work?
Date 2012-09-12 08:37 +0100
References <af4c9164-238f-4a94-8ed1-7c767f8c51bf@googlegroups.com> <k2para$298$1@ger.gmane.org> <CA+vVgJVgPVMNWYEQjVhj0zGko9ztjeaXdSQ-J19Xaqsn0-vCUg@mail.gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.543.1347435436.27098.python-list@python.org> (permalink)

Show all headers | 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