eto-ai / rikai

Parquet-based ML data format optimized for working with unstructured data
https://rikai.readthedocs.io/en/latest/
Apache License 2.0
136 stars 19 forks source link

Default Python version of Google Colab is 3.7 #685

Closed da-liii closed 2 years ago

da-liii commented 2 years ago
image

And we have deprecated support for Python 3.7 via https://github.com/eto-ai/rikai/pull/670 .

da-liii commented 2 years ago

Here is the related stackoverflow question: https://stackoverflow.com/questions/60775160/install-python-3-8-kernel-in-google-colaboratory

da-liii commented 2 years ago

The two line solution failed to work

image
da-liii commented 2 years ago

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
image
da-liii commented 2 years ago

Well, the debian solution installed Python 3.8 but we can not use pip to install python packages.

da-liii commented 2 years ago

@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.