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

今天登录vn station 发现有新版本 然后一键更新了之后就无法启动,cmd 里报错是这样的

Traceback (most recent call last):
File "C:\vnstudio\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "C:\vnstudio\lib\runpy.py", line 85, in _run_code
exec(code, run_globals)
File "C:\vnstudio\lib\site-packages\vnstation__main.py", line 4, in <module>
cli()
File "C:\vnstudio\lib\site-packages\click\core.py", line 829, in
call
return self.main(args, kwargs)
File "C:\vnstudio\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\vnstudio\lib\site-packages\click\core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "C:\vnstudio\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback,
ctx.params)
File "C:\vnstudio\lib\site-packages\click\core.py", line 610, in invoke
return callback(
args, kwargs)
File "C:\vnstudio\lib\site-packages\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args,
kwargs)
File "C:\vnstudio\lib\site-packages\vnstation\cli.py", line 15, in cli
run()
File "C:\vnstudio\lib\site-packages\click\core.py", line 829, in
call__
return self.main(args, kwargs)
File "C:\vnstudio\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "C:\vnstudio\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback,
ctx.params)
File "C:\vnstudio\lib\site-packages\click\core.py", line 610, in invoke
return callback(
args, **kwargs)
File "C:\vnstudio\lib\site-packages\vnstation\cli.py", line 20, in run
import vnstation.run
File "C:\vnstudio\lib\site-packages\vnstation\run.py", line 5, in <module>
from vnstation.ui.login.login_widget import LoginWidget
File "C:\vnstudio\lib\site-packages\vnstation\ui\login\login_widget.py", line 5, in <module>
from vnstation.ui.login.register_dialog import WeChatLoginDialog
File "C:\vnstudio\lib\site-packages\vnstation\ui\login\register_dialog.py", line 3, in <module>
from vnstation.web_engine import VNPY_URL_BASE, create_network_manager, create_web_view
File "C:\vnstudio\lib\site-packages\vnstation\web_engine.py", line 6, in <module>
from PyQt5.QtWebEngineCore import QWebEngineCookieStore
ImportError: DLL load failed: The specified module could not be found.

从网上找了些方法 1. 安装2015-2017 vcredist

  1. python -m pip install --upgrade pip
    python -m pip install --upgrade PyQt5
    python -m pip install --upgrade pyopenssl

这些方法都不管用,求助论坛里的大佬帮忙!

Administrator
avatar
加入于:
帖子: 5108
声望: 296

卸载了老版VNStudio重装新的即可

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

沪公网安备 31011502017034号