Question

Anaconda Environment with Django gives Internal Server Error

Posted October 26, 2020 93 views
NginxDjango

I followed the tutorial: https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-16-04

I used conda environment

my .ini file is:

[uwsgi]
project = talziz-base-projects
uid = aziz
base = /home/aziz

chdir = /home/aziz/talziz-base-projects
module = base_system.wsgi:application

master = true
processes = 5

socket = /run/uwsgi/%(project).sock
chown-socket = %(uid):www-data
chmod-socket = 660
vacuum = true

But I keep getting Internal Server Error!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

×
1 answer

Was having a similar problem. Fixed it after upgrading ipython with this command

sudo pip install –upgrade “ipython[all]”

Note: make sure to type ipython with double quotes and [all]

Submit an Answer