You are not logged in.
Pages: 1
I installed pocketsphinx from AUR. When I import the module in python, I get the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "sphinxbase.pxd", line 138, in init pocketsphinx (pocketsphinx.c:6695)
ValueError: PyCapsule_GetPointer called with invalid PyCapsule object
But if I run "import pocketsphinx" once again in the same instance of python interpreter, it works. Any idea why this strange behaviour?
Offline
It seems to be a bug in the code. The initialization does not occur in the order that it should, so the PyCapsule object is invalid the first time it is called, but somehow manages to get properly instantiated after that.
Report it to the developer.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
I tried the same version of pocketsphinx on Fedora which worked just fine. Could it be some packages I've installed?
Offline
Pages: 1