I am trying to install PocketSphinx in Python. I am trying to follow the Uberi speech recognition README, which asks the following:
PyAudio wheel packages for common 64-bit Python versions on Windows and Linux are included for convenience, under the
third-party/
directory in the repository root. To install, simply runpip install wheel
followed bypip install ./third-party/WHEEL_FILENAME
(replacepip
withpip3
if using Python 3) in the repository root directory.
I do not understand the instruction here. What FILE_NAME
is this referring to? What is this wheel
and how does it relate to PocketSphinx?
When you downloaded the PocketSphinx package manually, it must have created a wheel file (the file which does the real job) with a
.whl
extension in the said directory.Now, you need to open a terminal in the directory where the
.whl
extension file is stored, which in this case isthird-party
.Once you make sure that the terminal shows the current directory as
third-party
, go ahead and do a pip install of the wheel file.Assuming the name of the wheel file to be
PocketSphinx.whl
,You'd write:
This will do your job if all requirements are met.
And I have a feeling that the name of the wheel file wouldn't be simply
PocketSphinx.whl
, it'll be long and informative, nonetheless it will always have the extension.whl
, by which you shall identify it.Edit:
I went to the link you provided, and this is the wheel file you need:
pocketsphinx-0.1.3-cp35-cp35m-win_amd64.whl
for python 3.5Or
pocketsphinx-0.1.3-cp27-cp27m-win_amd64.whl
for python 2.7So your command becomes
Or
As per your python version.