AttributeError: module ‘IPython.utils.traitlets‘ has no attribute ‘Unicode‘

format_type = _traitlets.Unicode(_JAVASCRIPT_MODULE_MIME_TYPE)
AttributeError: module ‘IPython.utils.traitlets’ has no attribute ‘Unicode’

解决: …/python3.10/site-packages/google/colab/data_table.py 这里修改如下导包问题

 # from IPython.utils import traitlets as _traitlets
import traitlets as _traitlets

来源:https://stackoverflow.com/questions/75666380/attributeerror-module-ipython-utils-traitlets-has-no-attribute-unicode

来源:https://blog.csdn.net/g65775005/article/details/128876728

你可能感兴趣的:(ipython)