这是indexloc提供的服务,不要输入任何密码
Skip to content

Deprecated joblib #136

@StanislavPy

Description

@StanislavPy

If you open a GitHub issue, here is our policy:

  1. It must be a bug, a feature request, or a significant problem with documentation (for small docs fixes please send a PR instead).
  2. The form below must be filled out.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac OS 10.15.4
  • TensorFlow/Keras version: 1.14.0/2.3.1
  • Python version: 3.7.0

Describe the problem

In the project setup.py requirements there is a dependency on 'scikit-learn>=0.19.1', but in the module anago.preprocessing there is a dependency on joblib from sklearn.externals which is deprecated after scikit-learn version 0.23.

Source code / logs

from sklearn.externals import joblib

 File "/usr/lib/python3.7/site-packages/anago/__init__.py", line 3, in <module>
    from anago.wrapper import Sequence
  File "/usr/lib/python3.7/site-packages/anago/wrapper.py", line 7, in <module>
    from anago.preprocessing import IndexTransformer
  File "/usr/lib/python3.7/site-packages/anago/preprocessing.py", line 9, in <module>
    from sklearn.externals import joblib
ImportError: cannot import name 'joblib' from 'sklearn.externals' (/usr/lib/python3.7/site-packages/sklearn/externals/__init__.py)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions