You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to use pylibtiff to read tiff files into numpy array.. i installed
the windows installer provided on the site and now if i try importing, python
encounters with following error:
>>> from libtiff import *
Traceback (most recent call last):
File "D:/Python27/testtifflib.py", line 4, in <module>
from libtiff import *
File "D:\Python27\lib\site-packages\libtiff\__init__.py", line 4, in <module>
from .libtiff import libtiff, TIFF
File "D:\Python27\lib\site-packages\libtiff\libtiff.py", line 35, in <module>
raise ImportError('Failed to find TIFF library. Make sure that libtiff is installed and its location is listed in PATH|LD_LIBRARY_PATH|..')
ImportError: Failed to find TIFF library. Make sure that libtiff is installed
and its location is listed in PATH|LD_LIBRARY_PATH|..
i also tried this :
import sys
sys.path.append("D:\\Python27\\Lib\\site-packages\\libtiff")
from libtiff import *
but same error persists.. what can be done in this case?? any help is
appreciated.. m i missing something here??
Original issue reported on code.google.com by [email protected] on 2 Feb 2011 at 12:35
The text was updated successfully, but these errors were encountered:
Original issue reported on code.google.com by
[email protected]
on 2 Feb 2011 at 12:35The text was updated successfully, but these errors were encountered: