Re: Error when installing the Python Imaging Library



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>

.



Relevant Pages

  • Help with JPEG support with PIL 1.1.5 and OSX
    ... PIL 1.1.5 working on my OSX 10.3.9_PPC machine. ... I am using the most recent install package from the PIL ... IOError: decoder jpeg not available ... I then tried the Darwin ports py-pil. ...
    (comp.lang.python)
  • Re: Whats so funny? WAS Re: rotor replacement
    ... I figured that my intent to contribute to your project was sufficient to ... > which means that you have no idea how easy or hard it is to install PIL today ... Terry Hancock ...
    (comp.lang.python)
  • Re: Error when installing the Python Imaging Library
    ... It worked fine under Mac OS ... but when I try it on my Linux server. ... 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. ...
    (comp.lang.python)
  • PIL installation through Ports
    ... I have a FreeBSD6.2 server machine running zope2.9 and plone. ... this m/c has python-2.4.4 but no PIL module, I have to install it to ... Then it starts installing python2.5 and Py-imaging25 (but this wont support my application) ...
    (freebsd-questions)
  • Re: Re-installing Numeric and PIL Files
    ... suggested that I should re-install the Numeric file. ... The three install files are: ... You can look at sys.executable to find the actual .exe of the running Python ... Then check to make sure that Numeric and PIL ...
    (comp.lang.python)