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

Popular posts from this blog

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

javascript - Confirm a form & display message if form is valid with JQuery -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -