You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.
I installed as you directed and when i tried to run the sample file I got the below error how to fix this on ubuntu 15. Please reply as soon as possible.
python test.py
Traceback (most recent call last):
File "test.py", line 3, in
from pocketsphinx.pocketsphinx import *
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/init.py", line 37, in
from pocketsphinx import *
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", line 42, in
_pocketsphinx = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", line 38, in swig_import_helper
_mod = imp.load_module('_pocketsphinx', fp, pathname, description)
ImportError: libpocketsphinx.so.3: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered:
The error message tells you that the system failed to load shared library libpocketsphinx.so.3. You have to configure linker to look in /usr/local/lib to load shared libraries. You can do it with LD_LIBRARY_PATH environment variable or with configuration file /etc/ld.so.conf
To learn more about shared libraries in Linux read
I installed as you directed and when i tried to run the sample file I got the below error how to fix this on ubuntu 15. Please reply as soon as possible.
python test.py
Traceback (most recent call last):
File "test.py", line 3, in
from pocketsphinx.pocketsphinx import *
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/init.py", line 37, in
from pocketsphinx import *
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", line 42, in
_pocketsphinx = swig_import_helper()
File "/usr/local/lib/python2.7/dist-packages/pocketsphinx/pocketsphinx.py", line 38, in swig_import_helper
_mod = imp.load_module('_pocketsphinx', fp, pathname, description)
ImportError: libpocketsphinx.so.3: cannot open shared object file: No such file or directory
The text was updated successfully, but these errors were encountered: