Can't use Obitools on Mac with M1
I installed obi tools and it says that it was successful. But when I run obi test
, I have an error showing "ImportError
".
How could I work around this?
python3 -m venv obi3-env
source obi3-env/bin/activate
pip3 install --upgrade pip setuptools wheel Cython
pip3 install OBITools3
obi test
Traceback (most recent call last):
File "/obi3-env/bin/obi", line 59, in <module>
config = getConfiguration(root_config_name,
File "python/obitools3/apps/config.pyx", line 60, in obitools3.apps.config.getConfiguration
File "python/obitools3/apps/config.pyx", line 75, in obitools3.apps.config.getConfiguration
File "python/obitools3/apps/config.pyx", line 45, in obitools3.apps.config.buildDefaultConfiguration
File "python/obitools3/apps/command.pyx", line 41, in genexpr
File "python/obitools3/apps/command.pyx", line 41, in genexpr
File "python/obitools3/apps/command.pyx", line 28, in obitools3.apps.command.loadCommand
File "<frozen importlib._bootstrap_external>", line 522, in _check_name_wrapper
File "<frozen importlib._bootstrap_external>", line 1022, in load_module
File "<frozen importlib._bootstrap_external>", line 847, in load_module
File "<frozen importlib._bootstrap>", line 265, in _load_module_shim
File "<frozen importlib._bootstrap>", line 702, in _load
File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 1174, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "python/obitools3/commands/addtaxids.pyx", line 1, in init obitools3.commands.addtaxids
File "python/obitools3/apps/progress.pyx", line 1, in init obitools3.apps.progress
ImportError: dlopen(/obi3-env/lib/python3.8/site-packages/obitools3/utils.cpython-38-darwin.so, 0x0002): symbol not found in flat namespace '_obi_errno'
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information