-
Notifications
You must be signed in to change notification settings - Fork 55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error importing with libtiff 4.0.10 on Ubuntu: #107
Comments
Digging into setup.py in the git, the current version is 0.4.4 while the latest release on pypi is outdated 0.4.2 (https://pypi.org/project/libtiff/). But using libtiff = { git = "https://github.com/pearu/pylibtiff.git", editable = true, ref = "master"} in my pipfile to get the latest git version and installing libtiff5-dev, it worked perfectly. So looks like fixes for using libtiff5-dev are already in place, but a release for version 0.4.4 is basically what is required for ease of use along with updating the error message as mentioned above in the libtiff/libtiff_ctypes.py line 102. (https://github.com/pearu/pylibtiff/blob/master/libtiff/libtiff_ctypes.py#L102) |
Re-testing with Ubuntu 20.04 and libtiff 4.1.0 (libtiff5-dev):
Please could this be fixed and a new version be uploaded to pypi? It's been broken and unusable for well over a year at this point. While I can rebuild my own copy locally, that's not tenable for end users. The LTS Ubuntu release 18.04 didn't exhibit this problem due to using an older libtiff version. But the new LTS 20.04 does, and it makes libtiff completely unusable. As companies and projects migrate over, this will become increasingly common, and a fix would be very much appreciated. |
With Ubuntu 19.04, libtiff is failing to import with Python 3. The libtiff library and headers are installed.
It looks like
tiff_h_4_0_10.py
is missing. I see this is in git, but it's not yet released and installable with? (I didn't see any release tags, so I'm not sure what the current status is.) It's certainly working building by hand from git.By the way, you might want to change the message
sudo apt-get install libtiff4-dev
tosudo apt-get install libtiff5-dev
since this has beenlibtiff5
for several years now.Kind regards,
Roger
The text was updated successfully, but these errors were encountered: