[PYTHON] dyld: Library not loaded: @ rpath / libopenblas.dylib error

Introduction

After rebuilding the anaconda environment once, I tried pip install bhtsne to use t-sne, but import bhtsne did not work, so it is a memorandum.

Try to import

**** is hidden

hoge.py


import bhtsne
ImportError: dlopen(/Users/****/.pyenv/versions/anaconda3-5.1.0/envs/****/lib/python3.6/site-packages/bhtsne_wrapper.cpython-36m-darwin.so, 2): Library not loaded: @rpath/libopenblas.dylib
  Referenced from: /Users/****/.pyenv/versions/anaconda3-5.1.0/envs/****/lib/python3.6/site-packages/bhtsne_wrapper.cpython-36m-darwin.so
  Reason: image not found

Solution

I wrote that I should do various things, but I can not understand because it is a baby As a result, I just had to insert openblas (you should see the error properly)

conda install openblas

Recommended Posts

dyld: Library not loaded: @ rpath / libopenblas.dylib error
Python Not Implemented Error