4.02K 浏览
0
TqApi(TqSim())

这条语句直接就出错了

ringo 已回答的问题 2020年8月4日

你的报错是什么呢?

0

对,我也联不上去.报错:

TypeError: argument of type ‘float’ is not iterable

kenny 发表新评论 2020年8月3日

你这个报错和服务器一点关系都没有……麻烦看看英文……

咋没关系呢?
Traceback (most recent call last):
File “E:EAtrMSApzqh.py”, line 359, in
api = TqApi()
File “D:ProgramsPythonPython38libsite-packagestqsdkapi.py”, line 249, in __init__
if not self.wait_update(deadline=deadline): # 等待连接成功并收取截面数据
File “D:ProgramsPythonPython38libsite-packagestqsdkapi.py”, line 903, in wait_update
_merge_diff(self._data, d, self._prototype, False)
File “D:ProgramsPythonPython38libsite-packagestqsdkdiff.py”, line 39, in _merge_diff
_merge_diff(target, diff[key], tpt, tpersist)
File “D:ProgramsPythonPython38libsite-packagestqsdkdiff.py”, line 39, in _merge_diff
_merge_diff(target, diff[key], tpt, tpersist)
File “D:ProgramsPythonPython38libsite-packagestqsdkdiff.py”, line 39, in _merge_diff
_merge_diff(target, diff[key], tpt, tpersist)
File “D:ProgramsPythonPython38libsite-packagestqsdkdiff.py”, line 42, in _merge_diff
elif key in result and (
TypeError: argument of type ‘float’ is not iterable

您正在查看2个答案中的1个,单击此处查看所有答案。