$ sudo bash setup_frappe.sh --setup-production
Installing for debian 7 amd64
In case you encounter an error, you can post on https://discuss.frappe.io
Adding debian mariadb repo
Installing packages for debian. This might take time…
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package tcl8.6-dev
E: Couldn’t find any package by regex ‘tcl8.6-dev’
E: Unable to locate package tk8.6-dev
E: Couldn’t find any package by regex ‘tk8.6-dev’
sudo apt-get install tcl8.6-dev should work.
Both the Centos and Older Ubuntu solutions on this page ask for tcl8.5-dev
Why not modify your command to ask for ver tcl8.5-dev? and see what happens.
Also I would install Pillow and its dependencies before installing frappe.
Prior to Pillow/frappe installation have you:
$ sudo apt-get install python-dev python-setuptools
This may help.
The GitHub Pillow page provides more helpful info.