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

importError on macOS Mojave #1

Closed
albertmenglongli opened this issue Oct 11, 2019 · 2 comments
Closed

importError on macOS Mojave #1

albertmenglongli opened this issue Oct 11, 2019 · 2 comments

Comments

@albertmenglongli
Copy link

I followed the instructions on http://tmap.gdb.tools/, I installed conda first and conda install -c tmap tmap

But I got ImportError when try to import tmap to follow your examples:

ImportError: dlopen(/xxx/envs/lib/python3.7/site-packages/tmap.cpython-37m-darwin.so, 2): Library not loaded: @rpath/libomp.dylib
  Referenced from: /xxx/envs/lib/python3.7/site-packages/tmap.cpython-37m-darwin.so
  Reason: image not found

Which step did I do it wrong? thanks.

@daenuprobst
Copy link
Member

You are missing the openmp library (it seems as it is not distributed with macOS Mojave).
brew install libomp should solve the problem (according to this PyTorch issue)

@albertmenglongli
Copy link
Author

thanks, I'll follow this PyTorch issue to fix it.

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

2 participants