Skip to content
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

error in importing signature #229

Open
arjuniyer1978 opened this issue Jul 12, 2022 · 1 comment
Open

error in importing signature #229

arjuniyer1978 opened this issue Jul 12, 2022 · 1 comment

Comments

@arjuniyer1978
Copy link

import talon
from talon import quotations
from talon import signature
.\email_extract.py
Traceback (most recent call last):
File ".\email_extract.py", line 6, in

File "c:\users\local\AppData\Local\Programs\Python\Python37\lib\site-packages\talon\signature\learning\classifier.py", line 34, in load
return joblib.load(saved_classifier_filename)
File "c:\users\local\AppData\Local\Programs\Python\Python37\lib\site-packages\joblib\numpy_pickle.py", line 587, in load
obj = _unpickle(fobj, filename, mmap_mode)
File "c:\users\local\AppData\Local\Programs\Python\Python37\lib\site-packages\joblib\numpy_pickle.py", line 506, in _unpickle
obj = unpickler.load()
File "c:\users\local\AppData\Local\Programs\Python\Python37\lib\pickle.py", line 1088, in load
dispatchkey[0]
File "c:\users\local\AppData\Local\Programs\Python\Python37\lib\pickle.py", line 1376, in load_global
klass = self.find_class(module, name)
File "c:\users\local\AppData\Local\Programs\Python\Python37\lib\pickle.py", line 1426, in find_class
import(module, level=0)
ModuleNotFoundError: No module named 'sklearn.svm.classes'

following are the versions -
Talon - 1.4.4
scikit-learn - 0.24.1 ( read few threads that scikit-learn has to be a lower version)
joblib - 1.1.0

If i go to lower sckit versions, i get lot of deprecated np.float64 usage warnings.

Could someone please share the right versions for scikit-learn, talon , dependencies that would work with python 3.7 and higher?
Thanks

@Samwellwang
Copy link

#231 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants