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

如下:机器为M1芯片,拉下tts代码,跑run.py ,报找不到模块,新手有点懵,求助
(vnpy) mac@macdeMacBook-Air script % python run.py
Traceback (most recent call last):
File "/Users/mac/vnpy_tts-main/script/run.py", line 5, in <module>
from vnpy_tts import TtsGateway
File "/Users/mac/miniforge3/envs/vnpy/lib/python3.9/site-packages/vnpy_tts/init.py", line 25, in <module>
from .gateway import TtsGateway
File "/Users/mac/miniforge3/envs/vnpy/lib/python3.9/site-packages/vnpy_tts/gateway/init.py", line 1, in <module>
from .tts_gateway import TtsGateway
File "/Users/mac/miniforge3/envs/vnpy/lib/python3.9/site-packages/vnpy_tts/gateway/tts_gateway.py", line 32, in <module>
from ..api import (
File "/Users/mac/miniforge3/envs/vnpy/lib/python3.9/site-packages/vnpy_tts/api/init.py", line 1, in <module>
from .vnttsmd import MdApi
ModuleNotFoundError: No module named 'vnpy_tts.api.vnttsmd'

Member
avatar
加入于:
帖子: 1492
声望: 106

vnpy_tts接口部分尚未支持Mac版本吧

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

MTF wrote:

vnpy_tts接口部分尚未支持Mac版本吧

同样的操作在linux虚拟机上试了一下,跑得通,感觉应该是未支持mac了

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

沪公网安备 31011502017034号

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