我在 jupyter 笔记本中使用 !pip install dtale 安装了 dtale 库,然后运行了下一个命令 import dtale。但我收到此错误:
---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-9-1fc5e15a58d6> in <module>()
----> 1 import dtale
E:\Anaconda3\lib\site-packages\dtale\__init__.py in <module>()
4
5 # flake8: NOQA
----> 6 from dtale.app import show, get_instance, instances, offline_chart # isort:skip
7 from dtale.cli.loaders import LOADERS # isort:skip
8
E:\Anaconda3\lib\site-packages\dtale\app.py in <module>()
22 from six import PY3
23
---> 24 import dtale.global_state as global_state
25 from dtale import dtale
26 from dtale.cli.clickutils import retrieve_meta_info_and_version, setup_logging
AttributeError: module 'dtale' has no attribute 'global_state'
蝴蝶不菲
相关分类