Error when install erpnext on ubuntu 16.04

here is the error when im trying to install version 7

TASK [download wkthmltox linux] ************************************************
fatal: [localhost]: FAILED! => {“changed”: false, “dest”: “/tmp/wkhtmltox.tar.xz”, “failed”: true, “msg”: “Request failed”, “response”: “Request failed: ”, “state”: “absent”, “status_code”: -1, “url”: “http://download.gna.org/wkhtmltopdf/0.12/0.12.3/wkhtmltox-0.12.3_linux-generic-amd64.tar.xz”}
to retry, use: --limit @production/install.retry

PLAY RECAP *********************************************************************
localhost : ok=15 changed=9 unreachable=0 failed=1

Traceback (most recent call last):
File “install.py”, line 351, in
install_bench(args)
File “install.py”, line 111, in install_bench
run_playbook(‘production/install.yml’, sudo=True, extra_vars=extra_vars)
File “install.py”, line 301, in run_playbook
success = subprocess.check_call(args, cwd=os.path.join(cwd, ‘playbooks’))
File “/usr/lib/python2.7/subprocess.py”, line 541, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command ‘[‘ansible-playbook’, ‘-c’, ‘local’, ‘production/install.yml’, ‘-e’, ‘@/tmp/extra_vars.json’, ‘–become’, ‘–become-user=frappe’]’ returned non-zero exit status 2

what’s the command you use ?

is not loading for me either. I think wkhtmltopdf has been removed from that site. I think there was a discussion about this on the forums or as an github issue/pull request.

Perhaps you should just find another source for the package and preinstall it ie download say a deb of the p[ackage then

sudo dpkg -i packagename.deb

I think that if the package is installed prior to running the script then it will just ignore downloading that from the easy_install …

ahh
havea read of this How to manually install Wktohtmlpdf and Wkhtmltoimage in Ubuntu Server · GitHub

the version of the package has recently been updated. if you alter the easy_install script so the 3 becomes a 4 in the package name, it should work …