473,322 Members | 1,671 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,322 software developers and data experts.

Error when installing the Python Imaging Library

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
2 1858
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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Francisco Miguel Montenegro Montes | last post by:
Hi, perhaps some of you can help me... I'm installing Python 2.3 (in Linux RedHat 8.0) and I need to build it like a shared library, because I want to interact Python with PostgreSQL. Following...
6
by: Steve Holden | last post by:
Does anyone know the workaround for this error, encountered when trying to build PIL 1.1.4 from source under cygwin (Python 2.3.3)? running build_ext building '_imaging' extension gcc...
1
by: mir nazim | last post by:
hi, i cannot find sum() built in fuction in 2.3 version. i built from sources python from python.org. it gives NameError. please tell me where can i find Python Imaging Library libxml2 for...
54
by: seberino | last post by:
Many people I know ask why Python does slicing the way it does..... Can anyone /please/ give me a good defense/justification??? I'm referring to why mystring gives me elements 0, 1, 2 and 3...
0
by: Benny Ng | last post by:
Hi,All, When i deploy Enterprise library with my application ,i used XCOPY to deploy it into my test server. But when application runs, shown some error related registry. (But actually I haven't...
0
by: amaltasb | last post by:
Hi, I am hosting python applicaitions on a shared hositng so I dont have enough privilages, I have installed python in my home folder, through Automatic installer > extratools.php I want to...
2
by: moishyyehuda | last post by:
can I download Python Imaging Library (PIL) for linux.
18
by: =?Utf-8?B?RGF2aWQ=?= | last post by:
I have a VC++ / .NET 2.0 solution built using VS 2005 SP1 under XP. Everything has been working well there over the past year. I have recently starting porting the app to Windows Vista (since it...
1
by: cnivas | last post by:
Hi, I'm doing a small project on Python using MySQL as Database in MAC OS X. I was unable to connect the database. I was downloaded MySQLdb from sourceforge.net and I also modified setup_posix.py....
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.