lensacom / sparkit-learn

PySpark + Scikit-learn = Sparkit-learn
Apache License 2.0
1.15k stars 255 forks source link

ImportError: cannot import name _check_numpy_unicode_bug #83

Open dankiho opened 6 years ago

dankiho commented 6 years ago

I got the error when importing the SparkitLabelEncoder module with scikit-learn version 0.19.1.

>>> from splearn.preprocessing import SparkLabelEncoder
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.7/site-packages/splearn/preprocessing/__init__.py", line 1, in <module>
    from .label import SparkLabelEncoder
  File "/usr/lib/python2.7/site-packages/splearn/preprocessing/label.py", line 3, in <module>
    from sklearn.preprocessing.label import _check_numpy_unicode_bug
ImportError: cannot import name _check_numpy_unicode_bug