Problem scenario
You have a virtual server running Ubuntu 18.x in Azure. It has Python 2.x. How do you upgrade to Python 3.x?
Solution
1. Run these two commands:
sudo apt -y update
sudo apt -y install python 3.7
2. Find where the binary python3.7 is by running this: sudo find / -name python3.7
Make a mental note of the result.
…
Continue reading “How Do You Upgrade Python 2.x to Python 3.7 in Debian or Ubuntu Linux?”