upgrading server from python2 to python 3

August 14, 2017 1.2k views
Python Ubuntu 16.04

I deployed a website over Django using Nginx, Gunicorn, and Django on an Ubuntu 16.04 droplet, par this tutorial. Now it has come to my attention that my development server uses Python 3, whereas the droplet’s virutalenv was setup with Python 2, and Gunicorn was set up with Python 2. I’m interested in setting up Python 3 on the droplet, but I don’t know what that entails. Do I have to reconfigure Gunicorn from scratch to set up Python 3, or is there something simple I’m missing?

2 Answers

I have the same issue. If anyone has any suggestions, I would be grateful.

Have another answer? Share your knowledge.

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