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

Get warning after importing module #791

Open
weixuanfu opened this issue Nov 1, 2018 · 2 comments
Open

Get warning after importing module #791

weixuanfu opened this issue Nov 1, 2018 · 2 comments

Comments

@weixuanfu
Copy link
Contributor

weixuanfu commented Nov 1, 2018

  • Warning message
    DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses import imp

It is related to one issue in scikit-learn repo.

It happens with the latest version of scikit-learn (v0.20.0) and cloudpickle (v0.6.0).

Downgrading cloudpickle to 0.5.6 may avold this warning message. And the next version (v0.20.1) of scikit-learn may fix this isse.

@dbrrt
Copy link

dbrrt commented Nov 4, 2018

Thanks !

@115dkk
Copy link

115dkk commented Oct 11, 2023

In Python 3.12, that feature was completely removed, and now I get compile errors because of it. I fixed this by manually erasing it.

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

No branches or pull requests

3 participants