Question

Anaconda Environment with Django gives Internal Server Error

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!


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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]