python3 demo.py resources/models/smart_mirror.umdl Traceback (most recent call last): File "/home/pi/snowboy/examples/Python3/demo.py", line 1, in <module> import snowboydecoder File "/home/pi/snowboy/examples/Python3/snowboydecoder.py", line 5, in <module> import snowboydetect File "/home/pi/snowboy/examples/Python3/snowboydetect.py", line 15, in <module> import _snowboydetect ModuleNotFoundError: No module named '_snowboydetect'
时间: 2023-06-10 13:04:06 AIGC 浏览: 763
这个错误的原因可能是因为你没有安装Snowboy的依赖库_snnowboydetect。你可以尝试在命令行中输入pip3 install _snowboydetect来安装。如果还是出现同样的错误,可能需要进一步排查Snowboy的安装环境是否正确。
阅读全文
相关推荐












