我試圖導入pocketsphinx和獅身人面像的基礎,但兩者的這種顯示錯誤爲「no module name ad
」的錯誤,我不知道這是什麼「ad
」是我得到的pyhone「無模塊名爲廣告」錯誤
代碼:
>>> import pocketsphinx
Traceback (most recent call last):
File "<pyshell#4>", line 1, in <module>
import pocketsphinx
File "C:\Python27\lib\site-packages\pocketsphinx\__init__.py", line 35, in <module>
from sphinxbase import *
File "C:\Python27\lib\site-packages\sphinxbase\__init__.py", line 32, in <module>
from .ad import *
File "C:\Python27\lib\site-packages\sphinxbase\ad.py", line 35, in <module>
_ad = swig_import_helper()
File "C:\Python27\lib\site-packages\sphinxbase\ad.py", line 34, in swig_import_helper
return importlib.import_module('_ad')
File "C:\Python27\lib\importlib\__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _ad
>>> import sphinxbase
Traceback (most recent call last):
File "<pyshell#5>", line 1, in <module>
import sphinxbase
File "C:\Python27\lib\site-packages\sphinxbase\__init__.py", line 32, in <module>
from .ad import *
File "C:\Python27\lib\site-packages\sphinxbase\ad.py", line 35, in <module>
_ad = swig_import_helper()
File "C:\Python27\lib\site-packages\sphinxbase\ad.py", line 34, in swig_import_helper
return importlib.import_module('_ad')
File "C:\Python27\lib\importlib\__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named _ad
燁我總是得到錯誤作爲不安全的平臺警告 –
是一個問題? –