package:uwsgi:2.0.12-5ubuntu3.1 Setting up uwsgi (2.0.12-5ubuntu3.1) ... Job for uwsgi.service failed because the control process exited with error code. See "systemctl status uwsgi.service" and "journalctl -xe" for details. invoke-rc.d: initscript uwsgi, action "start" failed. ● uwsgi.service - LSB: Start/stop uWSGI server instance(s) Loaded: loaded (/etc/init.d/uwsgi; bad; vendor preset: enabled) Active: failed (Result: exit-code) since Mon 2017-09-25 09:31:14 PDT; 3ms ago Docs: man:systemd-sysv-generator(8) Process: 15884 ExecStart=/etc/init.d/uwsgi start (code=exited, status=1/FAILURE) Sep 25 09:31:14 bhansen-Inspiron-3847 systemd[1]: Starting LSB: Start/stop uWSGI server instance(s)... Sep 25 09:31:14 bhansen-Inspiron-3847 uwsgi[15884]: * Starting app server(s) uwsgi Sep 25 09:31:14 bhansen-Inspiron-3847 uwsgi[15884]: ...fail! Sep 25 09:31:14 bhansen-Inspiron-3847 systemd[1]: uwsgi.service: Control process exited, code=exited status=1 Sep 25 09:31:14 bhansen-Inspiron-3847 systemd[1]: Failed to start LSB: Start/stop uWSGI server instance(s). Sep 25 09:31:14 bhansen-Inspiron-3847 systemd[1]: uwsgi.service: Unit entered failed state. Sep 25 09:31:14 bhansen-Inspiron-3847 systemd[1]: uwsgi.service: Failed with result 'exit-code'. dpkg: error processing package uwsgi (--configure): subprocess installed post-installation script returned error exit status 1