title: Django ImportError: PIL in Apache2
body: <p>I have a trouble to running Django with Apache2. It makes a error when meet a code with <strong>"import PIL"</strong> or <strong>"import Image"</strong>.</p>
  
  <p>In error.log</p>
  
  <pre><code>[Mon Apr 02 14:54:35.553626 2018] [wsgi:error] [pid 4806] [remote 127.0.0.1:13590]     from PIL import Image
  [Mon Apr 02 14:54:35.553634 2018] [wsgi:error] [pid 4806] [remote 127.0.0.1:13590] ImportError: No module named 'PIL'
  </code></pre>
  
  <p>But the interest thing is when i command "runserver" with Django, It works very clearly. Could you give me any solution about this problem? </p>
  
  <p>It is setting of  apache2.conf</p>
  
  <pre><code>WSGIDaemonProcess mysite python-home=/var/www/mysite/virtualenv python-path=/var/www/mysite
  WSGIProcessGroup mysite
  WSGIScriptAlias / /var/www/mysite/mysite/wsgi.py process-group=mysite
  </code></pre>
  
  <p>Thanks.</p>