1 Answer
- Newest
- Most votes
- Most comments
0
Hello, I had this error when I was trying to install the library ffmpeg, This is the process I followed:
On notebook terminal run the following commands:
$ sudo yum install -y gcc
$ wget https://github.com/libsndfile/libsndfile/releases/download/1.0.31/libsndfile-1.0.31.tar.bz2
$ tar -xf libsndfile-1.0.31.tar.bz2
$ cd libsndfile-1.0.31
$ ./configure —prefix=/usr \
--disable-static \
--docdir=/usr/share/doc/libsndfile-1.0.31 && make
$ sudo make install
$ pip install sndfile
Then go ahead and install librosa but However you may want to setup a new environment with the librosa package preinstalled to it.
$ conda create --no-default-packages -n name_of_env python librosa
$ python -m ipykernel install --user --name=name_of_env
Once completed you may create a new notebook and use this new environment.
Relevant content
- asked 2 years ago
- Accepted Answerasked 2 years ago
- Accepted Answerasked 7 years ago
- AWS OFFICIALUpdated 4 months ago
- AWS OFFICIALUpdated 2 years ago
- How do I install and troubleshoot Python libraries in Amazon EMR and Amazon EMR Serverless clusters?AWS OFFICIALUpdated 3 months ago
Can you elaborate on how you are installing this library and which studio image you are using. I have tried
pip install librosa
in both the studio notebook images - tensorflow-2-6-cpu-py-ml-t3-medium, pytorch-1-10-cpu-py38-ml-t3-medium. You may also check this stackoverflow entry - https://stackoverflow.com/questions/38480029/libsndfile-so-1-cannot-open-shared-object-file-no-such-file-or-directory