Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test fails as documented in read me #1

Open
mosheliv opened this issue Aug 17, 2019 · 0 comments
Open

test fails as documented in read me #1

mosheliv opened this issue Aug 17, 2019 · 0 comments

Comments

@mosheliv
Copy link

docker exec -it scikit_multilearn_dev_test_docker python3 -m pytest /home/python-dev/repo fails with :

collected 5 items / 25 errors                                                                                                                                                    

===================================================================================== ERRORS =====================================================================================
____________________________________________________________ ERROR collecting skmultilearn/adapt/tests/test_brknn.py _____________________________________________________________
ImportError while importing test module '/home/python-dev/repo/skmultilearn/adapt/tests/test_brknn.py'.
Hint: make sure your test modules/packages have valid Python names.
Traceback:
home/python-dev/repo/skmultilearn/adapt/__init__.py:33: in <module>
    from .brknn import BRkNNaClassifier, BRkNNbClassifier
home/python-dev/repo/skmultilearn/adapt/brknn.py:2: in <module>
    from ..base import MLClassifierBase
home/python-dev/repo/skmultilearn/base/__init__.py:11: in <module>
    from .base import MLClassifierBase
home/python-dev/repo/skmultilearn/base/base.py:4: in <module>
    from sklearn.base import BaseEstimator, ClassifierMixin
usr/local/lib/python3.6/dist-packages/sklearn/__init__.py:64: in <module>
    from .base import clone
usr/local/lib/python3.6/dist-packages/sklearn/base.py:13: in <module>
    from .utils.fixes import signature
usr/local/lib/python3.6/dist-packages/sklearn/utils/__init__.py:16: in <module>
    from .fixes import _Sequence as Sequence
usr/local/lib/python3.6/dist-packages/sklearn/utils/fixes.py:85: in <module>
    from scipy.special import boxcox  # noqa
usr/lib/python3/dist-packages/scipy/special/__init__.py:648: in <module>
    from ._ellip_harm import ellip_harm, ellip_harm_2, ellip_normal
usr/lib/python3/dist-packages/scipy/special/_ellip_harm.py:7: in <module>
    from ._ellip_harm_2 import _ellipsoid, _ellipsoid_norm
scipy/special/_ellip_harm_2.pyx:5: in init scipy.special._ellip_harm_2 (scipy/special/_ellip_harm_2.c:8501)
    ???
usr/lib/python3/dist-packages/scipy/integrate/__init__.py:59: in <module>
    from ._bvp import solve_bvp
usr/lib/python3/dist-packages/scipy/integrate/_bvp.py:10: in <module>
    from scipy.sparse.linalg import splu
usr/lib/python3/dist-packages/scipy/sparse/linalg/__init__.py:113: in <module>
    from .isolve import *
usr/lib/python3/dist-packages/scipy/sparse/linalg/isolve/__init__.py:6: in <module>
    from .iterative import *
usr/lib/python3/dist-packages/scipy/sparse/linalg/isolve/iterative.py:10: in <module>
    from scipy._lib.decorator import decorator
E   ModuleNotFoundError: No module named 'scipy._lib.decorator'

it works with python instead of python3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant