Skip to content

Problem when installing MLJAR AutoML #936

@pplonski

Description

@pplonski

I'm trying to install MLJAR AutoML package: mljar-supervised. In the notebook I have:

!pip install mljar-supervised

I got the following error during installation:

ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
tensorflow 2.3.1 requires numpy<1.19.0,>=1.16.0, but you have numpy 1.19.5 which is incompatible.
mxnet 1.7.0.post1 requires graphviz<0.9.0,>=0.8.1, but you have graphviz 0.16 which is incompatible.
bokeh 2.2.3 requires tornado>=5.1, but you have tornado 5.0.2 which is incompatible.
autogluon-core 0.0.15b20201207 requires graphviz<0.9.0,>=0.8.1, but you have graphviz 0.16 which is incompatible.

When importing the package:

import supervised

I got error:

---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
<ipython-input-3-fae01312f982> in <module>
----> 1 import supervised

/opt/conda/lib/python3.7/site-packages/supervised/__init__.py in <module>
      1 __version__ = "0.7.19"
      2 
----> 3 from supervised.automl import AutoML

/opt/conda/lib/python3.7/site-packages/supervised/automl.py in <module>
      1 import logging
      2 
----> 3 from supervised.base_automl import BaseAutoML
      4 
      5 from supervised.utils.config import LOG_LEVEL

/opt/conda/lib/python3.7/site-packages/supervised/base_automl.py in <module>
     13 from copy import deepcopy
     14 
---> 15 from sklearn.base import BaseEstimator
     16 from sklearn.utils.validation import check_array
     17 from sklearn.metrics import r2_score, accuracy_score

/opt/conda/lib/python3.7/site-packages/sklearn/__init__.py in <module>
     78     from . import _distributor_init  # noqa: F401
     79     from . import __check_build  # noqa: F401
---> 80     from .base import clone
     81     from .utils._show_versions import show_versions
     82 

/opt/conda/lib/python3.7/site-packages/sklearn/base.py in <module>
     19 from . import __version__
     20 from ._config import get_config
---> 21 from .utils import _IS_32BIT
     22 from .utils.validation import check_X_y
     23 from .utils.validation import check_array

/opt/conda/lib/python3.7/site-packages/sklearn/utils/__init__.py in <module>
     18 import warnings
     19 import numpy as np
---> 20 from scipy.sparse import issparse
     21 
     22 from .murmurhash import murmurhash3_32

/opt/conda/lib/python3.7/site-packages/scipy/sparse/__init__.py in <module>
    227 import warnings as _warnings
    228 
--> 229 from .base import *
    230 from .csr import *
    231 from .csc import *

/opt/conda/lib/python3.7/site-packages/scipy/sparse/base.py in <module>
      5 
      6 from scipy._lib.six import xrange
----> 7 from scipy._lib._numpy_compat import broadcast_to
      8 from .sputils import (isdense, isscalarlike, isintlike,
      9                       get_sum_dtype, validateaxis, check_reshape_kwargs,

/opt/conda/lib/python3.7/site-packages/scipy/_lib/_numpy_compat.py in <module>
     14 
     15 if NumpyVersion(np.__version__) > '1.7.0.dev':
---> 16     _assert_warns = np.testing.assert_warns
     17 else:
     18     def _assert_warns(warning_class, func, *args, **kw):

/opt/conda/lib/python3.7/site-packages/numpy/__init__.py in __getattr__(attr)
    211                 from .testing import Tester
    212                 return Tester
--> 213             else:
    214                 raise AttributeError("module {!r} has no attribute "
    215                                      "{!r}".format(__name__, attr))

/opt/conda/lib/python3.7/site-packages/numpy/testing/__init__.py in <module>
      8 from unittest import TestCase
      9 
---> 10 from ._private.utils import *
     11 from ._private import decorators as dec
     12 from ._private.nosetester import (

/opt/conda/lib/python3.7/site-packages/numpy/testing/_private/utils.py in <module>
     50 IS_PYPY = platform.python_implementation() == 'PyPy'
     51 HAS_REFCOUNT = getattr(sys, 'getrefcount', None) is not None
---> 52 HAS_LAPACK64 = numpy.linalg.lapack_lite._ilp64
     53 
     54 

AttributeError: module 'numpy.linalg.lapack_lite' has no attribute '_ilp64'

How to install MLJAR AutoML package in kaggle notebook?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions