By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
444,089 Members | 2,260 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 444,089 IT Pros & Developers. It's quick & easy.

Error when installing the Python Imaging Library

P: n/a
Hey everybody,

I'm quite new to Python. I'm working on a webproject with Django and
need to install the Python Imaging Library. It worked fine under Mac OS
but when I try it on my Linux server. It gives me this error:

PasteBin Link: http://phpfi.com/179314

I don't really know what is wrong. Can somebody point me directions. I
really need the PIL to work.

Thx, Tim

Nov 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Tim Adler wrote:
I'm quite new to Python. I'm working on a webproject with Django and
need to install the Python Imaging Library. It worked fine under Mac OS
but when I try it on my Linux server. It gives me this error:

PasteBin Link: http://phpfi.com/179314

I don't really know what is wrong. Can somebody point me directions. I
really need the PIL to work.
the important line is

_imagingtk.c:20:16: tk.h: No such file or directory

which indicates that you don't have complete Tcl/Tk development
libraries on your machine (but you obviously have enough pieces of
them for PIL to think that you have them).

look for tcl-devel and tk-devel or similar packages in your Linux
provider's package repository.

</F>

Nov 28 '06 #2

P: n/a
Thx, I got it. I installed PIL through the automatic install tool.
Which resolved some dependencies.

Fredrik Lundh schrieb:
Tim Adler wrote:
I'm quite new to Python. I'm working on a webproject with Django and
need to install the Python Imaging Library. It worked fine under Mac OS
but when I try it on my Linux server. It gives me this error:

PasteBin Link: http://phpfi.com/179314
>
I don't really know what is wrong. Can somebody point me directions. I
really need the PIL to work.

the important line is

_imagingtk.c:20:16: tk.h: No such file or directory

which indicates that you don't have complete Tcl/Tk development
libraries on your machine (but you obviously have enough pieces of
them for PIL to think that you have them).

look for tcl-devel and tk-devel or similar packages in your Linux
provider's package repository.

</F>
Nov 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.