Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
paw-lu opened this issue Aug 18, 2021 · 1 comment
Open

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

paw-lu opened this issue Aug 18, 2021 · 1 comment

Comments

@paw-lu
Copy link

paw-lu commented Aug 18, 2021

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
@paw-lu
Copy link
Author

paw-lu commented Aug 20, 2021

This seems to work out if I run python -m pip install n2 --no-binary n2.

Problem is I want to use this package as a downstream depedency.

Would it be possible to tag the binary as non-macOS?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant