Default to Python 3.8
See original GitHub issueProposed change
Upgrade the Python version for the TLJH user environment to Python 3.8.
Alternative options
We could also upgrade from Ubuntu Bionic to Ubuntu Focal Fossa which comes with Python 3.8 by default. This means that the hub venv
will also use Python3.8.
Who would use this feature?
There are some related issues asking about upgrading to Python 3.8 that I found:
- https://github.com/jupyterhub/the-littlest-jupyterhub/issues/615
- https://github.com/jupyterhub/the-littlest-jupyterhub/issues/617
Also, upgrading the OS of the server that TLJH runs on, from Ubuntu Bionic to Ubuntu Focal Fossa can lead to trouble as reported here https://github.com/jupyterhub/the-littlest-jupyterhub/issues/613.
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Installed Python 3.8 on Ubuntu, but it's not the default
The correct way is sudo apt install python-is-python3 - it effectively does a symlink, but it also ...
Read more >Change the Python3 default version in Ubuntu
Set python3.6 as default. Or use the following command to set python3.6 as default: sudo update-alternatives --set python /usr/bin/python3.6.
Read more >How can I change the default python on my Ubuntu 20.04 to ...
Then, choose the version you want: sudo update-alternatives --config python. You can easily switch between default Python versions.
Read more >Set Python 3.8 as default on Ubuntu 22.04 | Linode Questions
Trying to set Python 3.8 as default on my Ubuntu 22.04 instance but can't seem to get it to work. Any help is...
Read more >Set Python 3.8 as a default python version on macOS
Set Python 3.8 as a default python version on macOS · Install latest version of python using terminal command: $ brew install python...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So is there a way to use 20.04 for new install or is this still a work in progress?
@GeorgianaElena yeah, that sounds good! We can also refuse to upgrade if it’s a 18.04 instance?