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

description

Member
avatar
加入于:
帖子: 637
声望: 34

请问使用的是什么数据库?

Member
avatar
加入于:
帖子: 36
声望: 0

数据库是默认的rqlite,手动安装不顺利,就执行了https://download.vnpy.com/veighna_studio-3.2.0.exe自动安装,现在再次运行C:\vnpy3.2.0>python run.py,发现竟然可以”新建图表“了:

description

description

Member
avatar
加入于:
帖子: 36
声望: 0

更正:数据库是默认的sqlite

Member
avatar
加入于:
帖子: 6
声望: 0

ImportError: cannot import name 'ZoneInfo' from 'vnpy.trader.utility' (C:\Users\llj\AppData\Local\Programs\Python\Python310\lib\site-packages\vnpy\trader\utility.py)
今天更新后出现的提示 请教是python310版本兼容问题吗

Member
avatar
加入于:
帖子: 637
声望: 34

hope1000million wrote:

ImportError: cannot import name 'ZoneInfo' from 'vnpy.trader.utility' (C:\Users\llj\AppData\Local\Programs\Python\Python310\lib\site-packages\vnpy\trader\utility.py)
今天更新后出现的提示 请教是python310版本兼容问题吗

这是安装了3.3.0版本开发中的插件吧,还没正式发布

Member
avatar
加入于:
帖子: 36
声望: 0

Windows10 + vnpy3.2.0手动安装 + vnpy_tts接口不出图形界面,也出此问题:
https://www.vnpy.com/forum/topic/30793-vnpy3-2-0shou-dong-an-zhuang-ttsjie-kou-bu-gong-zuo?page=1#pid56277

(financial-analysis) C:\vnpy3.2.0>python run.py
Traceback (most recent call last):
File "C:\vnpy3.2.0\run.py", line 10, in <module>
from vnpy_tts import TtsGateway
File "C:\Miniconda3\envs\financial-analysis\lib\site-packages\vnpy_tts__init.py", line 25, in <module>
from .gateway import TtsGateway
File "C:\Miniconda3\envs\financial-analysis\lib\site-packages\vnpy_tts\gateway\
init__.py", line 1, in <module>
from .tts_gateway import TtsGateway
File "C:\Miniconda3\envs\financial-analysis\lib\site-packages\vnpy_tts\gateway\tts_gateway.py", line 29, in <module>
from vnpy.trader.utility import get_folder_path, ZoneInfo
ImportError: cannot import name 'ZoneInfo' from 'vnpy.trader.utility' (C:\vnpy3.2.0\vnpy\trader\utility.py)

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

vnpy_tts版本降级就好了

Member
avatar
加入于:
帖子: 36
声望: 0

按照“xiaohe”老师所说的“vnpy_tts版本降级”后果然好了,谢谢“xiaohe”老师!

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

沪公网安备 31011502017034号

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