Сделал все по инструкции, собрал, запускаю: ImportError: DLL load failed: Не найден указанный модуль.
взял dll , положил рядом, или в патч прописал, неважно, выдает:
Traceback (most recent call last): File "C:\Users\сан\Desktop\Python File (2).py", line 1, in <module> import pocketsphinx as ps File "build\bdist.win32\egg\pocketsphinx.py", line 7, in <module> File "build\bdist.win32\egg\pocketsphinx.py", line 6, in __bootstrap__ File "sphinxbase.pxd", line 150, in init pocketsphinx (pocketsphinx.c:7935) ValueError: PyCapsule_GetPointer called with invalid PyCapsule object
собирал так
Build sphinxbase and pocketsphinx with Visual Studio as needed
copy sphinxbase.lib and sphinxbase.dll from sphinxbase/bin/Release to sphinxbase/python and to pocketsphinx/python
copy pocketsphinx.lib and pocketsphinx.dll from pocketsphinx/bin/Release to sphinxbase/python and to pocketsphinx/python
Open terminal
Change directory to sphixnbase/python
Run the command
python setup_win32.py install
Change directory to pocketsphinx/python
Run the command
python setup_win32.py install
Run the command to test python
python ps_test.py