On Tue, 25 Jan 2011 21:36:56 +0100, Thomas Paviot wrote:
> 2011/1/25 Bill Bedford <[email protected]>
>
>> Down loaded the precompiled pythonOCC-0.5 of OSX today and got error:-
>>
>
> The precompiled binaries were generated from my MacBook Pro on top of the
> default python2.6. Importing those libraries with python 2.7 fails.
>
> You have to compile your own pythonOCC with your python version if it's not
> 2.6.
Mmm... I got the same error if I used the system python2.6
>
> Be sure the libpython2.7.dylib is in your DYLD_LIBRARY_PATH and
> LD_LIBRARY_PATH before compiling.
There are 3 libpython2.7
/Library/Frameworks/Python.framework/Versions/2.7/lib/libpython2.7.dylib
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.a
/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/config/libpython2.7.dylib
all are simlinks pointing to
/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Putting any of these into the DYLD_LIBRARY_PATH fails with the same
error.
--
Bill Bedford
"Man is an animal suspended in webs of significance he himself has spun"
-- Clifford Geertz
_______________________________________________
Pythonocc-users mailing list
[email protected]
https://mail.gna.org/listinfo/pythonocc-users