osx - Importing tifffile in Python 2.7 on mac -
i trying import tifffile in pycharm on mac, keep getting error message:
importerror: failed find tiff library. make sure libtiff installed , location listed in path|ld_library_path|..
of course, libtiff downloaded, , tried edit ld_library_path , $path, , added path libtiff installed, still not working!
my $path is:
/library/frameworks/python.framework/versions/2.7/bin:/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin
my $ld_library_path is:
/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages/libtiff:/library/frameworks/python.framework/versions/2.7/lib/python2.7/site-packages
and when close terminal , reopen it, $ld_library_path gone, isn't reserved path name?
thank much.
Comments
Post a Comment