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?



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.

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

me too…

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.