Closed hedgy123 closed 8 years ago
Those two modules, hmm_messages_interface and hsmm_messages_interface, are .so files generated from the build process. So it's likely that the build is failing, or the build is working but it's not happening in the right place.
From the error message, it looks like the pyhsmm getting imported is actually in your site-packages directory. If you ran the python setup.py build_ext --inplace
, it could be that the build succeeded in your local directory, but since the import is resolving to the site-packages version it can't see the generated modules.
Can you make sure you're importing the version where you built the extension modules? You could set your PYTHONPATH environment variable, or try running pip install -e .
to link the git repository version into site-packages.
Everything worked, thanks so much!
Hi,
I am trying to reproduce the example in your readme file on my Mac Yosemite. I used the travis file to set up the environment (using g++-5 and gcc-5). I get lots of linker warnings like this one while building the package (w/python setup.py build_ext --inplace):
for both hmm_messages_interface and hsmm_messages_interface. When I ran the tests (nosetests tests -A 'not slow') I get:
And when I attempted to run the readme example, I got a similar error ( triggered by posteriormodel.resample_model()):
Could you guys please help? Could the linker warnings have had something to do with this?
Thank you very much!