Hi: 

   At the moment I just solve the problem, the pictures up. 

 To fix the problem I did was: 

1 - sudo apt-get install libjpeg62 libjpeg62-dev 
2 - sudo easy_install - find-links
http://www.pythonware.com/products/pil/ Imaging 
3 - sudo invoke-rc.d apache2 restart 

While in another server I did was: 

1- sudo apt-get install libjpeg62 libjpeg62-dev 
2- wget http://downloads.review-board.org/mirror/PIL-1.1.6.tar.gz 
3- sudo tar-vzxf PIL-1.1.6.tar.gz 
4- sudo nano +38 PIL-1.1.6/setup.py 
     change the line: 
       TCL_ROOT = none 
     by: 
      TCL_ROOT = "/usr/include/tk" 
5- sudo python2.6 PIL-1.1.6/setup.py install 
6- sudo invoke-rc.d apache2 restart 

Refund my thanks for their support.



On Sat, 2009-09-19 at 17:14 -0700, Mike Ramirez wrote:
> On Saturday 19 September 2009 16:49:49 Ramos wrote:
> > imagingtk.c:20:16: error: tk.h: No such file or directory
> > 
> 
> To install PIL, you'll need the tk8.4-dev package I believe.
> 
> http://packages.ubuntu.com/hardy/i386/tk8.4-dev/filelist
> 
> (not sure what the latest version of tk is for hardy),
> 
> Once PIL is installed, then you can use the ImageField properally.
> 
> Alternately, apt-get/synaptic repos should have pil in them already, you 
> wouldn't need to compile it or use easy_install.  I do suggest that you 
> search 
> your repos first before using easy_install, for similar reasons, including 
> easier updating.
> 
> Mike
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to