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

'hasOwnProperty' in javascript -

python - ValueError: No axis named 1 for object type <class 'pandas.core.series.Series'> -

java - How to provide dependency injections in Eclipse RCP 3.x? -