I'm using conda to roll back my python env to version 3.5 so that I can install pocketsphinx.
I used conda install -c conda-forge pocketsphinx
outlined here https://anaconda.org/conda-forge/pocketsphinx
It seemed to install properly with no errors.
Solving environment: done
## Package Plan ##
environment location: /.../anaconda3/envs/uwu
added / updated specs:
- pocketsphinx
The following NEW packages will be INSTALLED:
pocketsphinx conda-forge/linux-64::pocketsphinx-0.8-h14c3975_1002
sphinxbase conda-forge/linux-64::sphinxbase-0.8.5prealpha-h14c3975_1000
Proceed ([y]/n)? y
Preparing transaction: done
Verifying transaction: done
Executing transaction: done
However, it doesn't appear to import properly.
>>> import pocketsphinx
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: No module named 'pocketsphinx'
Any idea why?