Closed da-liii closed 2 years ago
Here is the related stackoverflow question: https://stackoverflow.com/questions/60775160/install-python-3-8-kernel-in-google-colaboratory
The two line solution failed to work
The debian solution works fine:
!sudo apt-get update -y
!sudo apt-get install python3.8
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.7 1
!sudo update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.8 2
Well, the debian solution installed Python 3.8 but we can not use pip to install python packages.
@eddyxu @changhiskhan @Renkai
I think hacking Google Colab to make it work with Python 3.8 or later is a waste of time.
For now (2022/06/27), unsupported Python versions are still only available via shell command.
And we have deprecated support for Python 3.7 via https://github.com/eto-ai/rikai/pull/670 .