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
I got the error when importing the SparkitLabelEncoder module with scikit-learn version 0.19.1.