Report this

What is the reason for this report?

upgrading server from python2 to python 3

Posted on August 14, 2017

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?

The developer cloud

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

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.