upgrading server from python2 to python 3
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?
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.×