Report this

What is the reason for this report?

Anaconda Environment with Django gives Internal Server Error

Posted on October 26, 2020

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!



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

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.

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]

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.