VeighNa量化社区
你的开源社区量化交易平台
Member
avatar
加入于:
帖子: 6
声望: 0

vnstation2.1.8安装后,双击没有反应 用python -m vnstation 后显示timezone error

C:\Users\sgfxing>python -m vnstation
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 829, in
call
return self.main(args, kwargs)
File "D:\vnstudio\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "D:\vnstudio\lib\site-packages\click\core.py", line 1236, in invoke
return Command.invoke(self, ctx)
File "D:\vnstudio\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback,
ctx.params)
File "D:\vnstudio\lib\site-packages\click\core.py", line 610, in invoke
return callback(
args, kwargs)
File "D:\vnstudio\lib\site-packages\click\decorators.py", line 21, in new_func
return f(get_current_context(), *args,
kwargs)
File "D:\vnstudio\lib\site-packages\vnstation\cli.py", line 15, in cli
run()
File "D:\vnstudio\lib\site-packages\click\core.py", line 829, in
call
return self.main(args, kwargs)
File "D:\vnstudio\lib\site-packages\click\core.py", line 782, in main
rv = self.invoke(ctx)
File "D:\vnstudio\lib\site-packages\click\core.py", line 1066, in invoke
return ctx.invoke(self.callback,
ctx.params)
File "D:\vnstudio\lib\site-packages\click\core.py", line 610, in invoke
return callback(
args, **kwargs)
File "D:\vnstudio\lib\site-packages\vnstation\cli.py", line 20, in run
import vnstation.run
File "D:\vnstudio\lib\site-packages\vnstation\run.py", line 4, in <module>
from vnpy.trader.ui import QtGui, create_qapp
File "D:\vnstudio\lib\site-packages\vnpy\trader\ui\
init__.py", line 11, in <module>
from .mainwindow import MainWindow
File "D:\vnstudio\lib\site-packages\vnpy\trader\ui\mainwindow.py", line 14, in <module>
from .widget import (
File "D:\vnstudio\lib\site-packages\vnpy\trader\ui\widget.py", line 19, in <module>
from ..engine import MainEngine
File "D:\vnstudio\lib\site-packages\vnpy\trader\engine.py", line 42, in <module>
from .setting import SETTINGS
File "D:\vnstudio\lib\site-packages\vnpy\trader\setting.py", line 30, in <module>
"database.timezone": get_localzone().zone,
File "D:\vnstudio\lib\site-packages\tzlocal\win32.py", line 93, in get_localzone
_cache_tz = pytz.timezone(get_localzone_name())
File "D:\vnstudio\lib\site-packages\tzlocal\win32.py", line 84, in get_localzone_name
raise pytz.UnknownTimeZoneError('Can not find timezone ' + tzkeyname)
pytz.exceptions.UnknownTimeZoneError: 'Can not find timezone '

搞不懂是啥情况

Member
avatar
加入于:
帖子: 3593
声望: 234

可以在电脑“设置”-“时间和语言”-“日期和时间”处选择一下自己所在的时区

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

沪公网安备 31011502017034号

【用户协议】
【隐私政策】
【免责条款】