-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
pysoundio library can't find shared library libsoundio.so.2
.
To solve this problem, i set LD_LIBRARY_PATH manually like below.
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:~/.local/lib/python3.8/site-packages/pysoundio/libraries/linux
Could I figure out another way to solve the problem?
$ python3 record_ws_clt.py test_record.pcm --device 0 --rate 16000
Traceback (most recent call last):
File "record_ws_clt.py", line 11, in <module>
from pysoundio import (
File "/home/pleya/.local/lib/python3.8/site-packages/pysoundio/__init__.py", line 35, in <module>
from pysoundio._soundio.lib import ( # noqa: F401
ImportError: libsoundio.so.2: cannot open shared object file: No such file or directory
My environments are ... (plz see below logs)
$ cat /etc/issue
Ubuntu 20.04.4 LTS \n \l
$ python3 --version
Python 3.8.10
$ pip3 --version
pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)
$ pip3 list | grep pysoundio
pysoundio 2.0.0
$ sudo apt list libsndfile1
Listing... Done
libsndfile1/focal-updates,focal-security,now 1.0.28-7ubuntu0.1 amd64 [installed]
libsndfile1/focal-updates,focal-security 1.0.28-7ubuntu0.1 i386
Metadata
Metadata
Assignees
Labels
No labels