running Django Python 3.4 auf mod_wsgi mit Apache2

Hi Ich erhalte den folgenden Fehler, wenn ich auf Ubuntu Server 14.10 die URL der Website öffne, auf der Apache 2 mit mod_wsgi und Python auf Django ausgeführt wird.

Meine Django-Anwendung verwendet Python 3.4, scheint jedoch standardmäßig Python 2.7 zu verwenden. Ich kann kein Bild aus PIL und AES aus Pycrypto importieren.

ImportError at /
kann den Namen _imaging @ nicht importier
Request-Methode: GET
Anfrage-URL:
Django Version: 1.7.3
Ausnahmetyp: ImportError
Ausnahmewert:
kann den Namen _imaging @ nicht importier
Exception Location: /usr/local/lib/python3.4/dist-packages/PIL/Image.py in, Zeile 63
Python Executable: / usr / bin / python
Python Version: 2.7.6
Python-Pfad:
['/ var / www / blabla',
'/ usr / local / lib / python3.4 / dist-packages',
'/ usr / lib / python2.7',
'/ usr / lib / python2.7 / plat-x86_64-linux-gnu',
'/ usr / lib / python2.7 / lib-tk',
'/ usr / lib / python2.7 / lib-old',
'/ usr / lib / python2.7 / lib-dynload',
'/ usr / local / lib / python2.7 / dist-packages',
'/ usr / lib / python2.7 / dist-packages',
'/ var / www / blabla',
'/ usr / local / lib / python3.4 / dist-packages']

Antworten auf die Frage(6)

Ihre Antwort auf die Frage