-
Notifications
You must be signed in to change notification settings - Fork 734
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Upgrading Colab host environment to Ubuntu LTS 20.04 #1880
Comments
Hi @drew-parsons, How to check what changes are made at the kernel level on Colab? Because I used to train reinforcement learning agents & live streaming the process to twitch using X server virtual screen & ffmpeg on Colab. But now the same streaming code has stopped working and, I am not able to figure out why this is happening. |
Hi @dhyeythumar , you can check the Colab python version with
which would match the identity of the python3 command.
On Colab the symlink for this command has been changed from the original You can check the version of the host system with
The linux kernel shouldn't be an issue here, but you can check it with |
Upgrading to 20.04 had been blocked on upstream availability of some dependencies but should now be unblocked. This issue will track that update (and internally this is b/181338315). |
|
Yes -- at least, that's the plan.
Unfortunately, no. |
Thanks Colab Team. Our users are looking forward to the upgrade. |
Today is exactly "3 months later", so, I thought it would be OK to ask: is there any news/updates on new Google Colab image? |
Not sure, but probably on Dec 26, 2021 drop support for Python 3.7 and update to Ubuntu 20.04 Python 3.8. NEP 29 deprecation policy: https://numpy.org/neps/nep-0029-deprecation_policy.html |
any update on this issue? |
Thanks, no updates, this is on our radar. |
For information scikit-learn is also anticipating to stop supporting Python 3.7 in its next major release (Q2 2022) in accordance to NEP 29. |
Hello everybody! Help me to solve this problem. I try to install the
The fact is that |
Repeating the question again in 2 months but: Any update? Do you know when can we expect this?
|
What I would like to have is a variety of different base images, for example when you choose "runtime type" (cpu, gpu, tpu), you can also choose "base image" (18 deprecated, 20, 22 beta) |
@colaboratory-team We are now a full year further, could you provide any update? |
@colaboratory-team or anyone: I made a notebook that upgrades a Colab VM in about an hour (if you interactively select no to remove packages, don't restart). It may be a workaround for those that need Ubuntu 20.04 without a restart and who don't mind wasting ~1 hour upgrading their notebook VM each time. Here are the commands:
|
update:
|
Bump. I have a C++17 dependency that is horribly broken on the 18 compile chain. This needs to be prioritized. |
At this point I would suggest going straight to Ubuntu 22.04 LTS (Jammy Jellyfish). That will also directly solve #2165, when using the default Python version of Ubuntu 22.04, which is Python 3.10. |
+1 |
Thanks for thanking the Colab Team. Your thanks are appreciated.
Thanks for replying to a question your don't have an answer to. Your lack of knowledge has been noted.
...and?
Then submit a feature request, kid
Please don't reply to issues you don't understand. If you knew how to fix this, you would have fixed it already. The fact that you're here proves your suggestions are meaningless. |
Also, to all the kids crying: This issue is triaged with no one assigned to it. What more proof do you need to believe that this issue doesn't matter to the devs? |
It looks like it's happening: #3327. I just got Ubuntu 20.04 for my runtime. |
@metrizable #3327 closes this |
@drew-parsons Thanks for filing the request. Colab's runtime has been upgraded to Ubuntu 20.04 with plans to upgrade to 22.04 in the future. |
Thanks @metrizable |
Mind you, gotta say, it's still messed up. Ubuntu 20.04 comes with python3.8, but you've overwritten that with python3.9. That means that colab is still incompatible with the python packages built for the system that it's running on. Which sort of defeats the point of the upgrade. It's packages with C extensions built using cython that are affected. When you do upgrade to 22.04, please don't undermine the system that you're running it on. |
Now with the upgrade to Ubuntu 20.04, all scripts that have code: from sage.all import * you give an error: !sage-python3 script.py Traceback (most recent call last): Has anyone been able to resolve this issue? |
@c0de91101 This obviously should help you "SageMath-in-Google-Colab" |
demining refers to a Russian bitcoin scam. Pulling hacked code from https://cryptodeeptech.ru is not going to help @c0de91101 . |
Dear Colab team,
the recent system upgrade from python 3.6 to python 3.7 is creating some issues for libraries packaged in PPAs, especially those which have a C++ backend wrapped to python with tools like pybind11, swig or Cython. The issue is that the C++ backend is compiled for python 3.6, and this is not necessarily compatible with python 3.7.
See for instance #1878, #1877, #1873,
https://fenicsproject.discourse.group/t/installing-fenics-from-ppa-on-colab/5148 .
The upgrade came as a surprise to software developers and PPA maintainers, and each development team is currently dealing with it on their own. Unfortunately, it is not possible to ask PPA maintainers to support packaging a special python 3.7 version targeted for Google Colab, because python 3.7 has been explicitly excluded from the list of supported python versions by Ubuntu 18.04 LTS, see https://launchpad.net/ubuntu/+source/python3-defaults/3.6.7-1~18.04 . Software developers will then have to cope by differently packaging such Colab specific versions and releasing them in some other way.
Considering that Ubuntu 18.04 LTS is now almost three years old, what are the plans to upgrade Colab to Ubuntu 20.04 LTS in future? This would probably fix in a very natural way many of the packaging issues introduced by the recent Colab upgrade.
If an upgrade to Ubuntu 20.04 LTS is planned, please keep this ticket open to inform us on the progress.
Thanks,
Drew Parsons @drew-parsons
Francesco Ballarin @francesco-ballarin
The text was updated successfully, but these errors were encountered: