Closed Raghu17s closed 4 years ago
That looks like a warning, not an error, so you might just be able to ignore it. However, if you do want to install joblib separately, then simply add install "joblib"
to your build.gradle file. Joblib is a pure-Python package, so it doesn't need to be in our repository.
You may need to use the workaround from https://github.com/joblib/joblib/issues/825.
I have used following code. install "joblib" import joblib
But still, it throws this error.
/data/user/0/com.chaquo.python.console/files/chaquopy/AssetFinder/requirements/joblib/_multiprocessing_helpers.py:53: UserWarning: [Errno 38] Function not implemented. joblib will operate in serial mode
Exception in thread Thread-1:
Traceback (most recent call last):
File "stdlib/threading.py", line 916, in _bootstrap_inner
File "stdlib/threading.py", line 864, in run
File "/data/user/0/com.chaquo.python.console/files/chaquopy/AssetFinder/app/chaquopy/utils/console.py", line 14, in
As I said before, use the workaround from joblib/joblib#825.
Great!, its working
If you're using Chaquopy 8.0.1 or later, there's no longer any need to use the workaround above, or to use old versions of librosa or joblib.
To upgrade Chaquopy, edit your app's top-level build.gradle file and change the version number of com.chaquo.python:gradle
.
Hi,
I am trying to import the saved SVM model into app. But, its throwing error when I use "from sklearn.externals import joblib". The error says to import joblib directly, but such a library is not listed in https://chaquo.com/pypi-2.1/ repository.
My code is: install "scikit-learn" from sklearn.externals import joblib
The error is:
/data/user/0/com.chaquo.python.console/files/chaquopy/AssetFinder/requirements/sklearn/externals/joblib/init.py:15: DeprecationWarning: sklearn.externals.joblib is deprecated in 0.21 and will be removed in 0.23. Please import this functionality directly from joblib, which can be installed with: pip install joblib. If this warning is raised when loading pickled models, you may need to re-serialize those models with scikit-learn 0.21+.