Hello I've been going back and forth with this, so any help would be appreciated. To date: - I'm using 64-bit fink and installed qt4-x11 and PyQt with that - I've tried PyQt from source using MacOSX python, but it's broken - I can either use MacOSX python, but get
>>> from PyQt4.QtCore import * Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: dlopen(/sw64/lib/qt4-x11/lib/python2.6/site-packages/PyQt4/QtCore.so, 2): Symbol not found: __PyByteArray_empty_string Referenced from: /sw64/lib/qt4-x11/lib/python2.6/site-packages/PyQt4/QtCore.so Expected in: flat namespace in /sw64/lib/qt4-x11/lib/python2.6/site-packages/PyQt4/QtCore.so I've tried compiling PyQt4 from source with no luck. OR use the fink python, but then $python2.6 Python 2.6.6 (r266:84292, Jan 6 2011, 17:38:55) [GCC 4.2.1 (Apple Inc. build 5664)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from OCC.Display.SimpleGui import * >>> from PyQt4.QtCore import * >>> set_backend('qt') >>> display, start_display, add_menu, add_function_to_menu = init_display() Fatal Python error: Interpreter not initialized (version mismatch?) Abort trap I suspect this error is because of the SWIG files and would like to rebuild pythonOCC with the fink python. Is this plausible, and how do I re-generate the SWIG files? I think I have all the dependencies. I have tried python2.6 generate_swig_files.py but it generates some cryptic errors. Any help would be appreciated Thanks Benjamin -- Benjamin Nortier bjnort...@gmail.com http://www.twitter.com/bjnortier http://www.1011ltd.com +44 (0)778 946 1959
_______________________________________________ Pythonocc-users mailing list Pythonocc-users@gna.org https://mail.gna.org/listinfo/pythonocc-users