talon icon indicating copy to clipboard operation
talon copied to clipboard

joblib warning

Open pengyu opened this issue 4 years ago • 3 comments

I got the following warning, when I try the tolon. Could anybody fix this problem? Thanks.

/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/sklearn/externals/joblib/__init__.py:15: FutureWarning: 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+.
  warnings.warn(msg, category=FutureWarning)

pengyu avatar Mar 15 '20 01:03 pengyu

This is now a hard error in scikit-learn==0.23 and up. Opened #207 with a fix.

import talon.signature
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-6-5b620dd250bd> in <module>
----> 1 import talon.signature

~/env/lib/python3.6/site-packages/talon/signature/__init__.py in <module>
     26 from . import extraction
     27 from . extraction import extract  #noqa
---> 28 from . learning import classifier
     29
     30

~/env/lib/python3.6/site-packages/talon/signature/learning/classifier.py in <module>
      9
     10 from numpy import genfromtxt
---> 11 from sklearn.externals import joblib
     12 from sklearn.svm import LinearSVC
     13

ImportError: cannot import name 'joblib'

tommilligan avatar May 26 '20 10:05 tommilligan

I'm not sure there is anybody maintaining this repository anymore

arseniybanayev avatar May 27 '20 21:05 arseniybanayev

I also have the same problem. Can this be fixed any time soon?

vovanec avatar Aug 20 '20 02:08 vovanec