Menu

#25 Cannot run on OS 10.6.8

open
nobody
None
5
2013-01-03
2011-09-14
No

I'm using the Enthought Python distribution and build/install ghmm with the --without-python flag and then python setup.py install the ghmmwrapper code separately. This all goes fine, no errors but when I then try and import the module:

>>> import ghmm
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/ghmm.py", line 112, in <module>
import ghmmwrapper
File "/Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/ghmmwrapper.py", line 25, in <module>
_ghmmwrapper = swig_import_helper()
File "/Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/ghmmwrapper.py", line 21, in swig_import_helper
_mod = imp.load_module('_ghmmwrapper', fp, pathname, description)
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/_ghmmwrapper.so, 2): Symbol not found: _RNG
Referenced from: /Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/_ghmmwrapper.so
Expected in: flat namespace
in /Library/Frameworks/Python.framework/Versions/6.0.0/lib/python2.6/site-packages/_ghmmwrapper.so

I've seen a similar issue on the mailing list for a 10.5.x installation but there was no resolution.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB