Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Error when importing nimbusml 1.0.0 #111

Description

@pieths

Create a fresh python 3.7.3 virtual environment (python -m venv [destDir]) and pip install:

  • nimbusml 1.0.0 (from local build)
  • jupyterlab
  • matplotlib

Then start jupyter lab. Enter the following in the first cell of a new notebook,

import numpy as np
import pandas as pd
import nimbusml as nml

Running the cell prints out the following error message.

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-3-27d67527a163> in <module>
      1 import numpy as np
      2 import pandas as pd
----> 3 import nimbusml as nml

c:\nimbusml\venv\lib\site-packages\nimbusml\__init__.py in <module>
     23 from .internal.utils.data_stream import FileDataStream
     24 from .internal.utils.utils import run_tests
---> 25 from .pipeline import Pipeline
     26 
     27 if sys.platform.lower() == "linux":

c:\nimbusml\venv\lib\site-packages\nimbusml\pipeline.py in <module>
     19 from sklearn.utils.validation import check_X_y, check_array
     20 
---> 21 from .internal.core.base_pipeline_item import BasePipelineItem
     22 from .internal.entrypoints.data_customtextloader import \
     23     data_customtextloader

c:\nimbusml\venv\lib\site-packages\nimbusml\internal\core\base_pipeline_item.py in <module>
     19 
     20 import six
---> 21 from sklearn.utils.fixes import signature
     22 
     23 from ..utils.data_roles import DataRoles, Role

ImportError: cannot import name 'signature' from 'sklearn.utils.fixes' (c:\nimbusml\venv\lib\site-packages\sklearn\utils\fixes.py)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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