VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 6
声望: 0

annot import name 'ArrowDtype' from 'pandas.core.api' (E:\VNPY\lib\site-packages\pandas\core\api.py)

Member
avatar
加入于:
帖子: 6
声望: 0

File "E:\VNPY\lib\runpy.py", line 196, in _run_module_as_main
2022-12-26 18:18:08 return _run_code(code, main_globals, None,
File "E:\VNPY\lib\runpy.py", line 86, in _run_code
exec(code, run_globals)
File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 39, in <module>
2022-12-26 18:18:08 File "build\bdist.win-amd64\egg\veighna_station\trader.py", line 30, in run_trader
File "E:\VNPY\lib\site-packages\vnpy\trader\engine.py", line 101, in add_app
engine: BaseEngine = self.add_engine(app.engine_class)
File "E:\VNPY\lib\site-packages\vnpy\trader\engine.py", line 72, in add_engine
engine: BaseEngine = engine_class(self, self.event_engine)
File "E:\VNPY\lib\site-packages\vnpy_ctastrategy\engine.py", line 111, in init
self.datafeed: BaseDatafeed = get_datafeed()
File "E:\VNPY\lib\site-packages\vnpy\trader\datafeed.py", line 50, in get_datafeed
module: ModuleType = import_module(module_name)
File "E:\VNPY\lib\importlib__init.py", line 128, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "E:\VNPY\lib\site-packages\vnpy_rqdata\
init.py", line 26, in <module>
from .rqdata_datafeed import RqdataDatafeed as Datafeed
File "E:\VNPY\lib\site-packages\vnpy_rqdata\rqdata_datafeed.py", line 5, in <module>
from pandas import DataFrame
File "E:\VNPY\lib\site-packages\pandas\
init__.py", line 48, in <module>
from pandas.core.api import (
ImportError: cannot import name 'ArrowDtype' from 'pandas.core.api' (E:\VNPY\lib\site-packages\pandas\core\api.py)

Member
avatar
加入于:
帖子: 748
声望: 40

感觉是pandas版本问题,查下是否为1.5.0

© 2015-2022 上海韦纳软件科技有限公司
备案服务号:沪ICP备18006526号

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】