I'm trying to install pocketsphinx on Windows 7 for Python 2.7. I found this https://github.com/bambocher/pocketsphinx-python, installed the dependencies, ran pip install pocketsphinx, which resulted in the "Successfully installed pocketsphinx-0.0.5" message, but when I attempt to run python file which contains import pocketsphinx I get an import error, "no module named pocketsphinx." Any idea what the problem could be?
Installing Pocketsphinx with pip on Windows 7
2.2k Views Asked by Forest Hughes At
2
There are 2 best solutions below
0
Connor
On
Windows Solution
Christoph Gohlke kindly added a compiled version of pocketsphinx to his unofficial extension library.
If you are running Python 2.7 (32-bit) then download: "pocketsphinx-0.0.9-cp27-cp27m-win32.whl"
Here: http://www.lfd.uci.edu/~gohlke/pythonlibs/#pocketsphinx
Then run: pip install "pocketsphinx-0.0.9-cp27-cp27m-win32.whl"
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in WINDOWS
- Get Maximum Log Size
- Debugging Windows Services while starting
- Possible consequences of duplicate ProgId for different classes
- How to chain BCryptEncrypt and BCryptDecrypt calls using AES in GCM mode?
- mingw-64 conflicting declarations when cross-compiling
- I run an EXE program from a Windows Service but I can't see form C#?
- Why is PowerShell "not recognized" when installing Chocolatey?
- How to check if Windows device is phone or tablet/pc?
- How to add directories to Cygwin gcc default search path
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Active directory and linux nslcd binding without extending the AD schema
- How To Prevent Over Scrolling in Scroll Viewer Windows Phone 8.1
- Unicode error from pip install
- Where is the 'EnablePinning' property in the ribbon framework's recent items?
- How can I implement the same models and data across ASP.NET and Windows Apps
Related Questions in PIP
- Strange behaviour with pip install
- Can't install anything with pip2 on Windows 7 due to UnicodeDecodeError
- Unicode error from pip install
- UnicodeDecodeError in pip install flake8 on Windows 8.1
- Uninstall unused packages with pip
- Automate Python application installation
- Having trouble installing Django 1.8 in virtualenv
- how do I specify in my pip requirements.txt to install from git repository
- easy_install unmet dependencies which already exist
- Error after installing pip with easy install (on mac)
- Pointing pip to the correct Python interpreter on Windows
- Python: pip install lxml from source using pip and cython
- Zurb Foundation Tooltip: bottom tooltip, but have pip on the right
- "Access is denied" while upgrading pip.exe on Windows
- How to specify versions on PIP when installing a python package with it's dependencies
Related Questions in POCKETSPHINX
- How do I turn off info logs in pocketsphinx-python
- Installing Pocketsphinx with pip on Windows 7
- I am unable to access imported models attribute
- Unknown CMN type 'batch' in pocketsphinx
- freeswitch pocketsphinx: install model language
- Unable to iterate over SegmentList while more than one match is found
- How to setup tresholds to spot keywords from a list in pocketsphinx-android?
- Setting treshhold in grammar-file of PocketSphinx keyword detection
- pocketsphinx fails with french
- Pocketsphinx VS Google Speech Recognition API
- How to add phonemes recognition with pocketsphinx on Android
- Sphinxbase make/install failing
- Identify start/stop times of spoken words within a phrase using Sphinx
- Error LNK2019 unresolved external symbol _cmd_ln_init referenced in function _main
- No module named _pocketsphinx
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
The location you found is not well supported and has bugs. This particular one does not properly install
__init__.py, that's why you can not load the module. I suggest you to build the official one instead, it should work:http://github.com/cmusphinx/pocketsphinx-python