Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #28929
| Newsgroups | comp.lang.python |
|---|---|
| Date | 2012-09-11 21:42 -0700 |
| References | <af4c9164-238f-4a94-8ed1-7c767f8c51bf@googlegroups.com> |
| Message-ID | <bda8e598-d033-43e1-b1ca-7cddd010dbca@googlegroups.com> (permalink) |
| Subject | Re: pythonOCC examples doesn't work? |
| From | Marco Nawijn <nawijn@gmail.com> |
On Wednesday, September 12, 2012 6:02:14 AM UTC+2, Jayden wrote: > I installed > > (1) pythonxy2.7.2.3 (with python2.7) and > > (2) pythonOCC-0.5-all-in-one.win32.py26 > > on windows 7 64 bit computer. > > > > I try run pythonOCC examples in its example folder, such as the helloworld.py and got errors as follows: > > > > ImportantError: DLL load failed: The specified module could not be found. > > > > The error come from the line of code: > > > > from OCC.BrepPrimAPI import * > > > > How to fix the error? Thanks a lot!! Hi Jayden, It has been some time ago that I used PythonOCC and I used it on Linux, so I cannot be of much help here. It sounds like you have to tell Windows where to look for the installed libraries (environment variables?). Anyhow, I recommend to post the question to the PythonOCC mailinglist. They are quite responsive. One last suggestion. OCC itself comes with a small utility called DRAWEXE. It is a tcl/tk program that can be used to play around with a lot of the functionality provided by OCC. Good luck! Marco
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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