ericmjonas / pybm3d

Python wrapper around bm3d
GNU General Public License v3.0
133 stars 29 forks source link

fail to import py3d #10

Closed yux11 closed 6 years ago

yux11 commented 6 years ago

When I try to import pybm3d, it raises this error:

ImportError: dlopen(/.../anaconda3/lib/python3.6/site-packages/pybm3d/bm3d.cpython-36m-darwin.so, 2): Library not loaded: /usr/local/opt/libtiff/lib/libtiff.5.dylib Referenced from: /.../anaconda3/lib/python3.6/site-packages/pybm3d/bm3d.cpython-36m-darwin.so Reason: image not found

Can someone help me out?

timmeinhardt commented 6 years ago

Hello,

if you install brew install libtiff prior to the anaconda installation of PyBM3D it should work. But I will check why this is actually needed. The only dependency should be FFTW3.

Do not hesitate to ask if you have further problems.

yux11 commented 6 years ago

It works now. Thank you so much!