Needed to install mod_wsgi to try to do a django setup and it was not on our ubuntu by default. To install it the following can be used
root@computer:/# apt-get install libapache2-mod-wsgi Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: linux-headers-4.10.0-19 linux-headers-4.10.0-19-generic linux-image-4.10.0-19-generic linux-image-extra-4.10.0-19-generic Use 'apt autoremove' to remove them. The following NEW packages will be installed: libapache2-mod-wsgi 0 upgraded, 1 newly installed, 0 to remove and 61 not upgraded. Need to get 86.8 kB of archives. After this operation, 272 kB of additional disk space will be used. Get:1 http://us.archive.ubuntu.com/ubuntu zesty/main amd64 libapache2-mod-wsgi amd64 4.5.11-1 [86.8 kB] Fetched 86.8 kB in 0s (207 kB/s) Selecting previously unselected package libapache2-mod-wsgi. (Reading database ... 259720 files and directories currently installed.) Preparing to unpack .../libapache2-mod-wsgi_4.5.11-1_amd64.deb ... Unpacking libapache2-mod-wsgi (4.5.11-1) ... Setting up libapache2-mod-wsgi (4.5.11-1) ... apache2_invoke: Enable module wsgi