How to upgrade python version of droplet?

  • Posted March 14, 2021
  • Flask

Hi, How Can I upgrade the python version of the Linux droplet?

Apache/2.4.29 (Ubuntu) mod_wsgi/4.5.17 Python/2.7 configured


Submit an 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.

Hi there,

In case that you are using Ubuntu or Debian, you should be able to install Python 3 by running the following:

  1. sudo apt update -y
  2. sudo apt install python3.7

In case that you need to install a very specific version, you can follow the steps here:

Regards, Bobby