Skip to content

import sndfile lib fail #201

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
zengjundeveloper opened this issue Jan 3, 2020 · 2 comments
Closed

import sndfile lib fail #201

zengjundeveloper opened this issue Jan 3, 2020 · 2 comments
Labels

Comments

@zengjundeveloper
Copy link

ERROR: Failed to install sndfile from https://files.pythonhosted.org/packages/db/ce/797cacd78490aa9de2e0e119491079d380e2fbbd7a1c5057c9fb2120a643/sndfile-0.2.0.tar.gz.
For assistance, please raise an issue at https://github.com/chaquo/chaquopy/issues.
Chaquopy: Exit status 1

build.gradle
python {
pip
{
install "numpy"
install "matplotlib"
install "librosa==0.4.2"
install "joblib==0.11"
install "soundfile"
install "sndfile"
}
}

@mhsmith
Copy link
Member

mhsmith commented Jun 10, 2020

What you need is probably not the sndfile Python package, which seems to have hardly any users, but the native libsndfile library which the soundfile package uses. We might add this library in the future, but it isn't a priority at the moment.

We use the thumbs up count to see how popular a package is. So if you need this package, please don't post a comment: just add a thumbs up at the top of the page.

@mhsmith
Copy link
Member

mhsmith commented Jul 28, 2020

This issue is fixed in Chaquopy 8.0.1. This release also fixes other bugs which affected joblib and librosa, so there's no longer any need to use old versions of those packages.

To upgrade, edit your app's top-level build.gradle file and change the version number of com.chaquo.python:gradle.

@mhsmith mhsmith closed this as completed Jul 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

2 participants