pocketsphinx-python icon indicating copy to clipboard operation
pocketsphinx-python copied to clipboard

Error after successful installation

Open habibbaluwala opened this issue 9 years ago • 9 comments

I am using trying to install pocketsphinx-python on a 64 bit Windows server. I installed the module using pocketsphinx-0.1.3-cp27-cp27m-win_amd64.whl from pypi but after successful installation when I try to import pocketsphinx, I get the following error :

import pocketsphinx Traceback (most recent call last):

File "", line 1, in import pocketsphinx

File "D:\Anaconda2\lib\site-packages\pocketsphinx__init__.py", line 35, in from sphinxbase import *

File "D:\Anaconda2\lib\site-packages\sphinxbase__init__.py", line 32, in from .ad import *

File "D:\Anaconda2\lib\site-packages\sphinxbase\ad.py", line 35, in _ad = swig_import_helper()

File "D:\Anaconda2\lib\site-packages\sphinxbase\ad.py", line 34, in swig_import_helper return importlib.import_module('_ad')

File "D:\Anaconda2\lib\importlib__init__.py", line 37, in import_module import(name)

ImportError: No module named _ad

import ad Traceback (most recent call last):

File "", line 1, in import ad

ImportError: No module named ad


Do I need to install additional modules for the same. Apologies for any inconvenience.

habibbaluwala avatar Sep 29 '16 23:09 habibbaluwala

Faced with this problem

SoulReav avatar Dec 09 '16 21:12 SoulReav

I faced the same problem. Got any solution for this?

ankurgulati avatar Dec 13 '16 11:12 ankurgulati

have you installed swig?

feigaoxyz avatar Dec 13 '16 15:12 feigaoxyz

facing the same issue. can someone help me to resolve the issue.?

vivek261991 avatar Feb 14 '17 03:02 vivek261991

Still facing the issue any solution for this?

dileepgogula avatar Mar 25 '17 05:03 dileepgogula

facing the same issue. Someone please help me out to solve this issue

cjcjcj7777 avatar Apr 17 '17 10:04 cjcjcj7777

I found this precompiled packages and installing that worked for me (Win7 - 64bit) http://www.lfd.uci.edu/~gohlke/pythonlibs/#pocketsphinx previously I had the same issue. Of course it doesn't solve the problem but at least you can be able to use pocketsphinx for python.

MorenoLaQuatra avatar Jun 26 '17 13:06 MorenoLaQuatra

i have the same problem could you solve it ?

Ahm3dRN avatar May 06 '18 17:05 Ahm3dRN

I am facing the same issue. I need pocketsphinx for arm.