1

i am trying to install pillow and for that purpose i need to run this command for the dependencies ,

sudo apt-get install libtiff5-dev libjpeg62-dev zlib1g-dev libfreetype6-dev liblcms2-dev tcl8.5-dev tk8.5-dev

but it gives me this error:

would someone help me out ? my ubuntu OS is running on raspberry pi installed from here

System details:

Thomas Ward
  • 72,494
  • 30
  • 173
  • 237
Umair Ali
  • 71
  • 2
  • 8
  • Check this out https://askubuntu.com/questions/1001223/sudo-apt-get-install-tcl8-5-dev-tk8-5-dev – Abhineet Pandey Jan 15 '20 at 17:45
  • 2
    When sharing information from the command line in a PuTTY session, just copy-paste the contents into your post here directly. Screenshots of text are not as helpful as the actual text *as* text. – Thomas Ward Jan 15 '20 at 17:54

1 Answers1

2

As far I can understand your Ubuntu version is 19.10, so it has tcl8.6 in the repositories.

So you have to install these packages:

sudo apt-get install tcl8.6-dev tk8.6-dev

or simplier -

sudo apt-get install tcl-dev tk-dev

Also I'd recommend to change TIFF and JPEG package names to the following:

sudo apt-get install libtiff-dev libjpeg-dev
N0rbert
  • 97,162
  • 34
  • 239
  • 423