Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
O
OBITools3
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • Operations
    • Operations
    • Incidents
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • OBITools
  • OBITools3
  • Issues
  • #120

Closed
Open
Opened Mar 21, 2022 by Marc-Olivier Beausoleil@beausoleilmo

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'
Edited Mar 29, 2022 by Marc-Olivier Beausoleil
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: obitools/obitools3#120