question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

support of audioread/librosa package

See original GitHub issue

Got error when trying to pip install these two packages with this:

            pip {
                install "six==1.10.0"
                install "audioread==2.1.5"
            }

The error message is:

Collecting audioread==2.1.5

  Could not find a version that satisfies the requirement audioread==2.1.5 (from versions: )
No matching distribution found for audioread==2.1.5 (NOTE: Chaquopy only supports wheels, not sdist packages)
Exit status 

Looking at the past feature requests, I have an impression that the python packages need to be manually ported to be available through Chaquopy, it is the case? If so, I am wondering if there’s a way for community to help porting them?

Thanks.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:17 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
lorena-garcia-fernandezcommented, Dec 26, 2018

Finally, I found the librosa MFCC features extraction programmed on Java, which were the functionality I needed from librosa in my Android app. So, I didn’t test whether your last solution could solve my problem. Thanks a lot, I hope it will resolve the problem to other programmers!

0reactions
mhsmithcommented, Jul 28, 2020

This issue is fixed in Chaquopy 8.0.1. If you’re using that version or later, there’s no longer any need to use old versions of librosa or joblib.

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

Read more comments on GitHub >

github_iconTop Results From Across the Web

Advanced I/O Use Cases — librosa 0.10.0.dev0 documentation
librosa uses soundfile and audioread for reading audio. ... audioread support is deprecated as of librosa 0.10.0, and will be removed completely in...
Read more >
librosa - Python Package Health Analysis - Snyk
Learn more about librosa: package health score, popularity, security, maintenance, versions and more.
Read more >
Python Audio
/home/swpffm/miniconda3/envs/FMP/lib/python3.7/site-packages/librosa/core/audio.py:165: UserWarning: PySoundFile failed. Trying audioread instead.
Read more >
Couldn't store audio as MP3 file using soundfile - Stack Overflow
However, as Librosa doesn't support MP3 format I use audioread library to load audio; however, I could not find the function in audioread ......
Read more >
installing librosa on arm architecture - Google Groups
Installing collected packages: numpy, scipy, decorator, llvmlite, numba, six, resampy, joblib, scikit-learn, audioread, librosa
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found