Skip to content

Library not loaded: /usr/local/opt/gcc/lib/gcc/10/libgomp.1.dylib #47

@paw-lu

Description

@paw-lu

Having some trouble installing n2.

System: macOS
Python: 3.9

❯ brew install 

❯ echo $CC
/usr/local/opt/gcc/bin/gcc-11

❯ echo $CXX
/usr/local/opt/gcc/bin/g++-11

❯ python -m pip instal n2

❯ python -c 'import n2'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: dlopen(/Users/pawlu/Documents/personal/img2bug/.venv/lib/python3.9/site-packages/n2.cpython-39-darwin.so, 2): Library not loaded: /usr/local/opt/gcc/lib/gcc/10/libgomp.1.dylib
  Referenced from: /Users/pawlu/Documents/personal/img2bug/.venv/lib/python3.9/site-packages/n2.cpython-39-darwin.so
  Reason: image not found

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions