Op dinsdag 12 juli 2016 10:00:51 UTC+2 schreef ldomp...@casema.nl:
> I try to run an example python file for pocketsphinx but I get this error: 
> 
> File "continuous_test.py", line 5, in <module>
>     from pocketsphinx.pocketsphinx import *
> ImportError: No module named pocketsphinx
> 
> Does somebody knows how to repair this.
I had python version 2.6 3.0 3.4 installed and removed.
I reinstall pocketsphinx python and now I don't get any errors while import 
from pocketsphinx. So I tried to run some python examples and now I get this 
error. I don't have a clue whats coing on.

INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, 
CMN='live', VARNORM='no', AGC='none'
INFO: cmn.c(97): mean[0]= 12.00, mean[1..12]= 0.0
ERROR: "acmod.c", line 83: Folder 'pocketsphinx/model/en-us/en-us' does not 
contain acoustic model definition 'mdef'
Traceback (most recent call last):
  File "example.py", line 15, in <module>
    decoder = Decoder(config)
  File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", 
line 271, in __init__
    this = _pocketsphinx.new_Decoder(*args)
RuntimeError: new_Decoder returned -1
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to