You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I use a new version of sklearn, six is no longer part of sklearn, but a separate library. Hence, seqlearn gives an error, when trying to run a perceptron:
/usr/local/lib/python3.8/dist-packages/seqlearn/perceptron.py in <module>
8 import numpy as np
9 from scipy.sparse import csc_matrix
---> 10 from sklearn.externals import six
11
12 from .base import BaseSequenceClassifier
ImportError: cannot import name 'six' from 'sklearn.externals' (/usr/local/lib/python3.8/dist-packages/sklearn/externals/__init__.py)