pocketsphinx-python
pocketsphinx-python copied to clipboard
import fails libasan.so
It installs fine but it goofs when I try to import it like so:
$ python3 -c 'import pocketsphinx'
Traceback (most recent call last):
File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/__init__.py", line 40, in <module>
from .ad_pulse import *
File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/ad_pulse.py", line 27, in <module>
from . import _ad_pulse
ImportError: libasan.so.5: cannot open shared object file: No such file or directory
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/home/john/test/venv/lib/python3.9/site-packages/pocketsphinx/__init__.py", line 35, in <module>
from sphinxbase import *
File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/__init__.py", line 42, in <module>
from .ad_alsa import *
File "/home/john/test/venv/lib/python3.9/site-packages/sphinxbase/ad_alsa.py", line 27, in <module>
from . import _ad_alsa
ImportError: libasan.so.5: cannot open shared object file: No such file or directory
I'm using Void Linux and pip.
I feel like it's related to environment variables.