Report this

What is the reason for this report?

How to change the gunicorn/nginx to use python3 instead of python2 (django template)

Posted on April 23, 2019

How to change the gunicorn/nginx to use python3 instead of python2 (django template)



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.

Greetings!

Great question. If the one-click image doesn’t provide you with the versions you need, it may make more sense to build a new stack on top of a blank slate (a droplet using a base OS image). We have a tutorial here for setting up Django on Ubuntu 18 that may help:

https://www.digitalocean.com/community/tutorials/how-to-install-the-django-web-framework-on-ubuntu-18-04

Jarland

I mean, I need gunicorn to use python3

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.