question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Default to Python 3.8

See original GitHub issue

Proposed 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:

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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gozescommented, Nov 17, 2020

So is there a way to use 20.04 for new install or is this still a work in progress?

1reaction
yuvipandacommented, Oct 8, 2020

@GeorgianaElena yeah, that sounds good! We can also refuse to upgrade if it’s a 18.04 instance?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found