Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

import fails libasan.so #66

Open
johngebbie opened this issue Nov 29, 2020 · 0 comments
Open

import fails libasan.so #66

johngebbie opened this issue Nov 29, 2020 · 0 comments

Comments

@johngebbie
Copy link

johngebbie commented Nov 29, 2020

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant