hey, thanks for this project.
我的运行环境是ubuntu16.04, python3.6.4, swig3.0.10(和snowboy官网要求一致) , 根据文档要求,在运行时,遇到如下问题, 是哪个环节出现了什么问题么? 可否帮我解答一下,谢谢。 have a good day
File "/kim-voice-assistant/venv/lib/python3.6/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 994, in _gcd_import
File "<frozen importlib._bootstrap>", line 971, in _find_and_load
File "<frozen importlib._bootstrap>", line 953, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'src.components.snowboy._snowboydetect'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run.py", line 30, in <module>
from src.mic_voice import Mic
File "/media/allen/c54da21a-a3bc-4c5e-a36c-0a41b6108e59/Voicer/kim-voice-assistant/src/mic_voice.py", line 3, in <module>
from src.components.snowboy import snowboydecoder
File "/media/allen/c54da21a-a3bc-4c5e-a36c-0a41b6108e59/Voicer/kim-voice-assistant/src/components/snowboy/snowboydecoder.py", line 5, in <module>
from src.components.snowboy import snowboydetect
File "/media/allen/c54da21a-a3bc-4c5e-a36c-0a41b6108e59/Voicer/kim-voice-assistant/src/components/snowboy/snowboydetect.py", line 28, in <module>
_snowboydetect = swig_import_helper()
File "/media/allen/c54da21a-a3bc-4c5e-a36c-0a41b6108e59/Voicer/kim-voice-assistant/src/components/snowboy/snowboydetect.py", line 27, in swig_import_helper
return importlib.import_module(pkg_dir.lstrip('.') + '._snowboydetect')
File "/media/allen/c54da21a-a3bc-4c5e-a36c-0a41b6108e59/Voicer/kim-voice-assistant/venv/lib/python3.6/importlib/__init__.py", line 121, in import_module
raise TypeError(msg.format(name))
TypeError: the 'package' argument is required to perform a relative import for '._snowboydetect'