musistudio / wukong-robot-install-script

wukong-robot的一键安装脚本.
MIT License
94 stars 36 forks source link

正常安装,python3 wukong.py后报:No module named 'snowboy._snowboydetect' #20

Closed yetzi1975 closed 2 years ago

yetzi1975 commented 2 years ago

报错信息如下:

Traceback (most recent call last): File "/home/yetzi/wukong-robot/snowboy/snowboydetect.py", line 14, in swig_import_helper return importlib.import_module(mname) File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "", line 1014, in _gcd_import File "", line 991, in _find_and_load File "", line 973, in _find_and_load_unlocked ModuleNotFoundError: No module named 'snowboy._snowboydetect'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "wukong.py", line 2, in from snowboy import snowboydecoder File "/home/yetzi/wukong-robot/snowboy/snowboydecoder.py", line 5, in from . import snowboydetect File "/home/yetzi/wukong-robot/snowboy/snowboydetect.py", line 17, in _snowboydetect = swig_import_helper() File "/home/yetzi/wukong-robot/snowboy/snowboydetect.py", line 16, in swig_import_helper return importlib.import_module('_snowboydetect') File "/usr/lib/python3.8/importlib/init.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) ModuleNotFoundError: No module named '_snowboydetect'