Autogluon: Google Colab : Unable to install autogluon

Created on 21 Mar 2020  路  7Comments  路  Source: awslabs/autogluon

Hey team.
I tired installing autogluon on google colab. But it seems to give me an error.
Does a simple pip install not work ?
There is import error
ImportError: cannot import name 'isStringType'

image

duplicate

All 7 comments

  • Is this issue linked to #171 ?

Please see #163 for the solution, I believe it should solve your problem. Unfortunately Colab uses an old version of tornado and needs a bit of extra code to get working with AutoGluon. Resolving for now, please let me know if you have any issues!

  • It isn't solving the issue. I just tried as you said. It is still giving me error.

image

Link to Colab Notebook:

https://colab.research.google.com/drive/1ULOytrRHcw4GLl0qWgGnxUpr9zVQVYlr
i used the above notebook. It is not working

Seems that for 0.0.6 doing the ipykernel upgrade at the start doesn't work, but it does if you put it at the end of the installs.

I have updated the notebook and the instructions in #163. Do note that you have to manually restart the Colal runtime prior to importing autogluon (There is a cell that mentions this)

Notebook:
https://colab.research.google.com/drive/1ULOytrRHcw4GLl0qWgGnxUpr9zVQVYlr

Thanks for pointing this out! Let me know if this works.

  • Works like charm. No issues now. This alternative works.

The following version works:

https://colab.research.google.com/drive/1Z0F2FOowLWrJ-gYx72fiWLIpmEVMk4Bo#scrollTo=XtuOeo_ZzLMq

see full article in : (from https://towardsdatascience.com/getting-started-with-automl-and-aws-autogluon-6bc7ed7aef95)

greetings!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aaronkl picture aaronkl  路  8Comments

mli picture mli  路  6Comments

tigerhawkvok picture tigerhawkvok  路  6Comments

braaannigan picture braaannigan  路  5Comments

nathan-wood picture nathan-wood  路  5Comments