[Image-SIG] Speeding up an image transformation in C

2009-11-11 Thread Grzegorz Adam Hankiewicz
Hello. I have a small python algorithm similar to a floodfill that works slow in python. Is there any documentation on how I could write a C extension to speed it up? Are there any dev headers I can compile against to handle an Image from C? ___

[Image-SIG] Python 2.5 on mac

2009-11-11 Thread Stefan Ulbrich
Hello, I'd like to install PIL 1.1.7 on Mac Os X but the installer fails to find python 2.5 - which is installed as python -V states: Python 2.5.1 So I decided to install Macpython 2.6 and python -V returns Python 2.6.4 however, I still cannot install PIL. Any suggestions how to solve this

[Image-SIG] PIL installation error

2009-11-11 Thread Irena Efremenko
Hi, I get the following error messages trying to install PIL: Imaging-1.1.6-70% sudo python setup.py install running install running build running build_py running build_ext building '_imagingtk' extension creating build/temp.linux-x86_64-2.4 creating build/temp.linux-x86_64-2.4/Tk gcc -pthread

Re: [Image-SIG] PIL installation error

2009-11-11 Thread Fredrik Lundh
Your Python installation includes Tkinter but your Tcl/Tk installation is incomplete; you either have to install the relevant Tcl/Tk development packages, or tweak setup.py to disable Tkinter support. /F On Wed, Nov 11, 2009 at 1:32 PM, Irena Efremenko irena.efreme...@weizmann.ac.il wrote: Hi,

Re: [Image-SIG] PIL installation error

2009-11-11 Thread Tim Hatch
I get the following error messages trying to install PIL: ... _imagingtk.c:20:16: error: tk.h: No such file or directory Looks like you have _tkinter available but it can't find your tk.h. Assuming you have the tcl headers, adjust TCL_ROOT in setup.py appropriately. Tim