I downloaded Lubuntu LTS 18.04 and there is Python 3.6.9 IDLE which is built-in. But since it is very old, I want to update to 3.8. How do I do that?
Ubuntu – How to install Python 3.8 in Lubuntu 18.04
idle-pythonpython3
idle-pythonpython3
I downloaded Lubuntu LTS 18.04 and there is Python 3.6.9 IDLE which is built-in. But since it is very old, I want to update to 3.8. How do I do that?
Best Answer
This post is community wiki so as to not claim the credit of @Kulfy's comment. This procedure worked on Ubuntu 18.04.
When installing python3.8, do the following
For most people this will be acceptable as they will be using a virtual environment for development. Construct a virtual environment and activate it as you usually would. This will leave you in a terminal where
python
resolves topython3.8
:Neglecting to install
python3.8-venv
will result in an unhelpful error, that suggests you should installpython-venv
which resolves topython3.6-venv
: