vn.py官网
开源量化社区
Member
avatar
加入于:
帖子: 2
声望: 0

错误信息如下:
C:\Users\Administrator>python -m vnstation
qt.network.ssl: QSslSocket: cannot resolve SSL_CTX_set_ciphersuites
qt.network.ssl: QSslSocket: cannot resolve SSL_set_psk_use_session_callback
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_set_psk_use_session_callback
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_set_psk_use_session_callback
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_set_psk_use_session_callback
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_set_psk_use_session_callback
Traceback (most recent call last):
File "D:\vnstudio\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "D:\vnstudio\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "D:\vnstudio\lib\site-packages\vnstation__main.py", line 4, in <module>
cli()
File "D:\vnstudio\lib\site-packages\click\core.py", line 1137, in
call
return self.main(*args, kwargs)
File "D:\vnstudio\lib\site-packages\click\core.py", line 1062, in main
rv = self.invoke(ctx)
File "D:\vnstudio\lib\site-packages\click\core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "D:\vnstudio\lib\site-packages\click\core.py", line 1404, in invoke
return ctx.invoke(self.callback,
ctx.params)
File "D:\vnstudio\lib\site-packages\click\core.py", line 763, in invoke
return
callback(*args, **kwargs)
File "D:\vnstudio\lib\site-packages\vnstation\cli.py", line 28, in runtrader
run_trader(s)
File "D:\vnstudio\lib\site-packages\vnstation\cli.py", line 89, in run_trader
module = importlib.import_module(d["module"])
File "D:\vnstudio\lib\importlib__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 965, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'vnpy_spreadtrading'

Member
avatar
加入于:
帖子: 3033
声望: 174

请pip install vnpy_spreadtrading试试

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

沪公网安备 31011502017034号