user13152343
user13152343

Reputation:

How do I upgrade to python 3.8 on Colab?

I have tried:

https://stackoverflow.com/questions/16769109/upgade-python-version-using-pip#:~:text=pip%20is%20designed%20to%20upgrade,but%20use%20an%20installer%20instead.&text=Basically%2C%20pip%20comes%20with%20python%20itself.

Install Python 3.8 kernel in Google Colaboratory

https://kegui.medium.com/how-to-install-mlfinlab-without-error-messages-896e2fb43c2f

None of the proposed solutions work.

I'm struggling to update colab python to 3.8. pip is designed to upgrade python packages and not to upgrade python itself. pip shouldn't try to upgrade python when you ask it to do so. Don't type pip install python but use an installer instead. Basically, pip comes with python itself.

Upvotes: 1

Views: 993

Answers (1)

Jacques Joubert
Jacques Joubert

Reputation: 173

MlFinlab has relaxed the hard versioning so you can now install on Colab :)

Upvotes: 0

Related Questions