bmf icon indicating copy to clipboard operation
bmf copied to clipboard

Run demo with a error in mac os 13.4.1 (22F82)

Open lanch opened this issue 1 year ago • 3 comments

hi, I run the demo in my mac, but got the error, how to fix the error?

demo % python broadcaster/broadcaster.py Traceback (most recent call last): File "/Users/weiliang/Develop/bmf/bmf/demo/broadcaster/broadcaster.py", line 7, in import bmf File "/Users/weiliang/.pyenv/versions/3.9.18/lib/python3.9/site-packages/bmf/init.py", line 3, in from bmf.python_sdk.module_functor import make_sync_func File "/Users/weiliang/.pyenv/versions/3.9.18/lib/python3.9/site-packages/bmf/python_sdk/init.py", line 1, in from .module_functor import make_sync_func, ProcessDone File "/Users/weiliang/.pyenv/versions/3.9.18/lib/python3.9/site-packages/bmf/python_sdk/module_functor.py", line 1, in import bmf.lib._hmp ImportError: dlopen(/Users/weiliang/.pyenv/versions/3.9.18/lib/python3.9/site-packages/bmf/lib/_hmp.cpython-39-darwin.so, 0x0002): Library not loaded: @executable_path/../../../../Python Referenced from: <A7C35633-CEDB-33E7-9D07-2098CB1A21E1> /Users/weiliang/.pyenv/versions/3.9.18/lib/python3.9/site-packages/bmf/lib/_hmp.cpython-39-darwin.so Reason: tried: '/Users/weiliang/Python' (no such file), '/usr/local/lib/Python' (no such file), '/usr/lib/Python' (no such file, not in dyld cache)

lanch avatar Sep 06 '23 08:09 lanch

Hello, there, sry for the problem. In fact, the BMF framework is currently ready for Mac infrastructure. There may be problems with some environment monitoring configurations. We are rectifying them and accelerating support. Thank you for your patience.

taoboyang avatar Sep 08 '23 09:09 taoboyang

Hello, I want to know how do you install BMF, through pip install BabitMF? I did a local test here. I installed python3.9 using homebrew, and the problems you exposed did not occur. Would you please provide more detailed environment information?

taoboyang avatar Sep 11 '23 13:09 taoboyang

Hello, I want to know how do you install BMF, through pip install BabitMF? I did a local test here. I installed python3.9 using homebrew, and the problems you exposed did not occur. Would you please provide more detailed environment information?

I use pyenv to install the python 3.9, and pip install BabitMF

lanch avatar Sep 24 '23 09:09 lanch