Skip to content

ImportError: cannot import name _check_numpy_unicode_bug #83

Open
@dankiho

Description

@dankiho

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions