473,386 Members | 1,654 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

PIL- error message- cannot open libtiff.so.3

Okay, so I've been getting this error message when trying to use PIL to
open a JPEG, that there isn't a library by the name of libtiff.so.3 .
I've been searching the documentation, there isn't any reference to
this library. Also, I don't know why it's doing this as I'm trying to
open a JPEG, and not a tiff. I tried with a .bmp with similar results.
Any ideas? Thanks!

Nov 11 '05 #1
7 1818
Tuvas wrote:
Okay, so I've been getting this error message when trying to use PIL to
open a JPEG, that there isn't a library by the name of libtiff.so.3 .
I've been searching the documentation, there isn't any reference to
this library. Also, I don't know why it's doing this as I'm trying to
open a JPEG, and not a tiff. I tried with a .bmp with similar results.


sounds like someone has linked _imaging.so against the libtiff library.

what PIL version is this, and where did you get it ?

</F>

Nov 11 '05 #2
I got it from the PIL website, version 1.1.5. I guess it's possible
that there's another library Image on the computer that it could be
confusing? I'm looking for new things. Thanks!

Nov 11 '05 #3
Tuvas wrote:
Okay, so I've been getting this error message when trying to use PIL to
open a JPEG, that there isn't a library by the name of libtiff.so.3 .
I've been searching the documentation, there isn't any reference to
this library. Also, I don't know why it's doing this as I'm trying to
open a JPEG, and not a tiff. I tried with a .bmp with similar results.
Any ideas? Thanks!


Install libtiff.

--
Erik Max Francis && ma*@alcyone.com && http://www.alcyone.com/max/
San Jose, CA, USA && 37 20 N 121 53 W && AIM erikmaxfrancis
Irrational barriers and ancient prejudices fall quickly when the
question of survival itself is at stake. -- John F. Kennedy,
Nov 11 '05 #4
Tuvas wrote:
I got it from the PIL website, version 1.1.5. I guess it's possible
that there's another library Image on the computer that it could be
confusing? I'm looking for new things. Thanks!


afaik, there are no unix binaries on the PIL website. did you build
it yourself, from source code? what modifications did you do to the
setup.py file? what happens if you do

$ python
import _imaging
import _imagingtiff


?

</F>

Nov 11 '05 #5
Oddly enough, that seems to have solved the problem. Duh. Take the
simple solution first. Thanks for the wake up call!

Nov 11 '05 #6
Erik Max Francis wrote:
Install libtiff.


note that PIL doesn't use libtiff, so that only addresses the symtoms.

(which might be good enough, of course)

</F>

Nov 11 '05 #7
Well, it seems to have resolved the problem. Don't know what was
causing it to begin with, but I'll take it...

Nov 12 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: John Carter | last post by:
Does anyone know how to embed PIL into a py2exe program. As far as I can tell PIL is not finding its plugins for Image I/O, they are imported dynamically as required. So I cant load or save...
10
by: Stéphane Ninin | last post by:
Hello all, I am writing (on Linux Redhat 9) some script to make graphs using PIL, from a set of points. All is ok, except that there seems to be no font coming with PIL. Where could I fond...
3
by: Noah | last post by:
How does Image.putdata() work? I am using PIL 1.1.3. This simple script throws an exception on putdata(): import Image width = 10 height = 10 im = Image.new ("RGB", (width, height)) L =...
3
by: Steve Holden | last post by:
If nobody has a quick answer I'll go to the PIL list, but I'm having problems with PIL JPEG support on Windows, and figured someone on c.l.py might have solved this problem. I built the Cygwin...
2
by: News M Claveau /Hamster-P | last post by:
PIL PI = Py (in french, it's the same 'sound') => PIL = (Py)L and Py become P24 => PIL = (P24)L however, 'L' Christmas finishes It (in french, Christmas = NoëL) and '(P24)' can to do readed...
4
by: Will McGugan | last post by:
Hi, I'm writing an app that downloads images. It rejects images that are under a certain size - whithout downloading them completely. I've implemented this using PIL, by downloading the first K...
9
by: peter.mosley | last post by:
Hello again I'm still wrestling with Python / Tkinter / PIL. I have almost got it to work - on a Fedora Core 1 system I can now display images in a Tkinter window. But I also run a Fedora Core...
5
by: Christian Stapfer | last post by:
After switching from Python 2.3 to 2.4 (Enought), PIL throws an exception that did not occur formerly (under Python 2.3) when executing ImageFont.truetype(font, size) where font =...
2
by: Odalrick | last post by:
I'm making a simple program to crop and scale images, essentially make thumbnails from a user defined subset of the image. I'm planning to use Python Image Library to crop and resize the images,...
3
by: bsagert | last post by:
I downloaded BeautifulSoup.py from http://www.crummy.com/software/BeautifulSoup/ and being a n00bie, I just placed it in my Windows c:\python25\lib\ file. When I type "import beautifulsoup" from...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.