473,585 Members | 2,512 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1867
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
2591
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 the README instructions, I try: ../configure --enable-shared --prefix=/whatever (I'm not root of my system, so I can't use /usr/local/) make...
6
3544
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 -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -IlibImaging -I/usr/include/python2.3 -c encode.c -o
1
1695
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 python2.3 all the rpms/sources work for python 2.2
54
3944
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 but *NOT* mystring (5th element). Many people don't like idea that 5th element is not invited. (BTW, yes I'm aware of the explanation where slicing
0
2622
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 any method or component to wrote registry) After I used "InstallUtil" to registry Enterprise Library (those DLLs) to the deployment server, the...
0
1219
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 install Python imaging library module. I just copied the PIL in my py24 folder and also in site packages, but its not working. How can I install PIL...
2
2727
by: moishyyehuda | last post by:
can I download Python Imaging Library (PIL) for linux.
18
81267
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 currently will not execute properly there). I installed VS 2005 SP1 and the hot fix SP for Vista on my Windows Vista system and have rebuilt the...
1
2944
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. After modified and restart the setup.py I'm getting an error "gcc" cannot find the file. This is the error it was getting when I was reinstalling the...
0
8199
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
8336
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7950
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8212
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5389
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3835
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3863
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2343
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1447
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.