googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.13k stars 696 forks source link

AttributeError: module 'IPython.utils.traitlets' has no attribute 'Unicode' #4671

Closed mrgreen3325 closed 1 week ago

mrgreen3325 commented 2 weeks ago

Describe the current behavior A clear and concise explanation of what is currently happening.

Describe the expected behavior A clear and concise explanation of what you expected to happen.

What web browser you are using (Chrome, Firefox, Safari, etc.)

Additional context Link to a minimal, public, self-contained notebook that reproduces this issue.

I install the google.colab lib in my ubuntu python 3.10 conda env. I installed pytorch 2.1.0. When I call from google.colab, it reported an AttributeError: module 'IPython.utils.traitlets' has no attribute 'Unicode'. I tried several times to use different python version, but it is not help. Can someone help me? Thank you

mrgreen3325 commented 2 weeks ago

anyone can help?

mrgreen3325 commented 1 week ago

Can anyone help to solve this bug?

metrizable commented 1 week ago

The package google.colab published here is not intended for private re-use: https://github.com/googlecolab/colabtools?tab=readme-ov-file#intended-use