Skip to content

DataCore/dataserver/api/py/data_api.py 出错 #9

@bn888

Description

@bn888

DataCore/dataserver/api/py/data_api.py 出错:

ValueError: Attempted relative import in non-package

此data_api 与 jaqs.data.DataApi 是否相同?dataserver1.2 到底用哪一个呢?

但是用 jaqs.data.DataApi 也同样出错:
api=DataApi("tcp://0.0.0.0:8910",use_jrpc=True)
runfile('D:/dataserver-1.2/dataserver/data_api.py', wdir='D:/dataserver-1.2/dataserver')

C:\Anaconda2\lib\site-packages\dateutil\parser.py:605: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal
elif res.tzname and res.tzname in time.tzname:
Kernel died, restarting
请问是什么问题呢?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions