aws / aws/studio-lab-examples

Missing permissions to install C library

Open
#20 3 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Jupyter Notebook
Stars
772
Forks
229
PR merge metrics
No merged PRs in 30d

Description

I'm trying to set up torchaudio/fastaudio.
When I do:
`import torchaudio`
I get:
`OSError: sndfile library not found`

However when I ran `conda install -c conda-forge librosa`,
`libsndfile conda-forge/linux-64::libsndfile-1.0.31-h9c3ff4c_1` was one of the packages.

When I try `apt update` and `apt-get install libsndfile1-dev`, I get
```
Reading package lists... Done
E: List directory /var/lib/apt/lists/partial is missing. - Acquire (13: Permission denied)
```
and
```
E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?
```
respectively.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.