[Python-projects] hmm testing

Alexy Khrabrov deliverable at gmail.com
Wed Aug 6 03:12:08 CEST 2008

How's one supposed to run the tests in the test/ subdirectory of the  

When trying to run test_hmm.py, I get this:

/s/src/python/hmm/logilab-hmm-0.5.0/test python test_hmm.py
Traceback (most recent call last):
   File "test_hmm.py", line 6, in <module>
     import logilab.hmm.hmmf as hmmf
   File "/Library/Frameworks/Python.framework/Versions/2.5/lib/ 
python2.5/site-packages/logilab/hmm/hmmf.py", line 11, in <module>
     import logilab.hmm._hmmf as _hmmf
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/2.5/ 
lib/python2.5/site-packages/logilab/hmm/_hmmf.so, 2): Symbol not  
found: _f2pyinithmm_for_
   Referenced from: /Library/Frameworks/Python.framework/Versions/2.5/ 
   Expected in: dynamic lookup

-- at the same time have just installed numpy and its f2py 1.1.1.   
Where should the symbol _f2pyinithmm_for_ come from?


More information about the Python-Projects mailing list