I want to use python 3.7 but DigitalOcean pre-installs python 3.5.2, how can I upgrade to python 3.7 using the cli?
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!
Hello friend!
Often those needing the latest version of packages will run non-LTS releases of a Linux distribution. This is not advised for production, but is frequently done for development. The versions shipped with the operating systems are the ones you can expect to receive any updates necessary from those that manage the distro, and any version you manually install will have it’s updates managed by you. Keep that in mind before proceeding, as the simplest solution would be to use the version included if it offers the functionality that you need.
With that in mind, if you would like to proceed, I found a couple of options stated here: https://askubuntu.com/questions/1057053/how-do-i-install-python-3-7-on-ubuntu-16-04-and-18-04
Now, I’m assuming you’re using Ubuntu. The steps can be different, depending on the chosen path (repo vs compiling source, for example) and the distro/version used.
Kind Regards, Jarland
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.