【代码报错】ImportError: cannot import name 'get_table_names_recursive' from 'dai._functions'
由bqytasdg创建,最终由small_q 被浏览 19 用户
程序上周跑还是没问题的,今天跑就出现了报错,想问一下原因
Traceback (most recent call last) Cell In[7], line 64 61 pass 63 # @module(position="-438,-854", comment="""使用基本信息对股票池过滤""", comment_collapsed=False) ---> 64 m1 = M.cn_stock_basic_selector.v8( 65 exchanges=["""上交所""", """深交所""", """北交所"""], 66 list_sectors=["""创业板""", """科创板""", """北交所"""], 67 st_statuses=["""正常""", """ST""", """*ST"""], 68 margin_tradings=["""两融标的""", """非两融标的"""], 69 sw2021_industries=["""农林牧渔""", """采掘""", """基础化工""", """钢铁""", """有色金属""", """建筑建材""", """机械设备""", """电子""", """汽车""", """交运设备""", """信息设备""", """家用电器""", """食品饮料""", """纺织服饰""", """轻工制造""", """医药生物""", """公用事业""", """交通运输""", """房地产""", """金融服务""", """商贸零售""", """社会服务""", """信息服务""", """电力设备""", """国防军工""", """计算机""", """传媒""", """通信""", """煤炭""", """石油石化""", """环保""", """美容护理"""], 70 drop_suspended=True, 71 m_name="""m1""" 72 ) 74 # @module(position="-317,-722", comment="""因子特征""", comment_collapsed=False) 75 m2 = M.input_features_dai.v30( 76 input_1=m1.data, 77 mode="""表达式""", (...) 97 m_name="""m2""" 98 ) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/modules.py:28, in call(self, **kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:203, in module_invoke(name, version, kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:169, in _module_invoke(name, version, kwargs) File /opt/pyenv/versions/3.11.8/lib/python3.11/site-packages/bigmodule/moduleinvoker.py:41, in _module_run(module, kwargs) File dist/build/cn_stock_basic_selector/v8/init.py:268, in v8.run() File /var/app/enabled/dai/init.py:2, in <module dai>() File /var/app/enabled/dai/_datasource.py:25, in <module dai._datasource>() File /var/app/enabled/dai/_functions.py:12, in <module dai._functions>() File /var/app/enabled/dai/_telemetry.py:26, in <module dai._telemetry>() ImportError: cannot import name 'get_table_names_recursive' from 'dai._functions' (/var/app/enabled/dai/_functions.py)
想问一下是什么原因?