chaquo / chaquopy

Chaquopy: the Python SDK for Android
https://chaquo.com/chaquopy/
MIT License
809 stars 131 forks source link

Please support librosa Library #185

Closed postdep closed 4 years ago

postdep commented 4 years ago

Please support librosa library, unable to load at present!

mhsmith commented 4 years ago

As discussed in #21, please try the following in the pip section of your build.gradle:

install "joblib==0.11"
install "librosa==0.4.2"

When I did that, I still received some warnings, but the librosa import completed successfully.

mhsmith commented 4 years ago

If you still have problems after doing this, please give details in #21.

mhsmith commented 4 years ago

If you're using Chaquopy 8.0.1 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.