Sloppy
Sloppy

Reputation: 1

Building a speech recognition application using speech_recognition in python 27

When i run the program it tells me that ensure pocketsphinx is installed correctly but when I pip install pocketsphinx it says; error:command 'swig.exe' failed: no such file or directory . Please help!..Am using windows 8.1 with Python 2.7.11

Upvotes: 0

Views: 170

Answers (1)

mata
mata

Reputation: 69092

Swig is one of the dependencies you need to install first to be able to compile pocketsphinx, as pocketsphinx doesn't provide any precompiled versions.

If you don't want to compile it yourself, you can try a unofficial pre-built version from here:
http://www.lfd.uci.edu/~gohlke/pythonlibs/#pocketsphinx

Upvotes: 1

Related Questions