User Tools

Site Tools


wiki:deploying_django_website

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

wiki:deploying_django_website [2021/05/19 14:12] – created antisawiki:deploying_django_website [2021/07/16 11:15] (current) – add Troubleshooting antisa
Line 173: Line 173:
   sudo systemctl restart apache2   sudo systemctl restart apache2
  
 +====== Troubleshooting ======
 +===== RequiredDependencyException: jpeg =====
 +Error:
 +
 +<code>
 +...
 +Traceback (most recent call last):
 +      File "<string>", line 1, in <module>
 +      File "/tmp/pip-install-tbcs638c/pillow_8a743b86be7a43dabab5b1bfbde4a377/setup.py", line 804, in <module>
 +        raise RequiredDependencyException(msg)
 +    __main__.RequiredDependencyException:
 +    
 +    The headers or library files could not be found for jpeg,
 +    a required dependency when compiling Pillow from source.
 +
 +...
 +</code>
 +
 +Install:
 +
 +  apt-get install libjpeg-dev zlib1g-dev
  
 ====== Tested on ====== ====== Tested on ======
   * Ubuntu 18.04   * Ubuntu 18.04
 +  * Ubuntu 20.04.02
  
 ====== See also ====== ====== See also ======
Line 182: Line 204:
   * [[https://www.youtube.com/watch?v=Sa_kQheCnds|Corey Schafer youtube]]   * [[https://www.youtube.com/watch?v=Sa_kQheCnds|Corey Schafer youtube]]
   * https://stackoverflow.com/questions/47803081/certbot-apache-error-name-duplicates-previous-wsgi-daemon-definition/47803231   * https://stackoverflow.com/questions/47803081/certbot-apache-error-name-duplicates-previous-wsgi-daemon-definition/47803231
 +  * https://stackoverflow.com/a/49751641/6881647
wiki/deploying_django_website.1621426323.txt.gz · Last modified: 2021/05/19 14:12 by antisa

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki