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

import from top level joblib instead of sklearn.externals #32

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

janice5tian
Copy link

I was getting an error
ModuleNotFoundError: No module named 'sklearn.externals.joblib', which after some googling1 shows that sklearn removed that from the externals lib, and expects it to just be at the top level.

I was getting an error
`ModuleNotFoundError: No module named 'sklearn.externals.joblib'`, which after some googling[1] shows that sklearn removed that from the externals lib, and expects it to just be at the top level.

[1]: https://stackoverflow.com/questions/61893719/importerror-cannot-import-name-joblib-from-sklearn-externals
@Shrutwa
Copy link

Shrutwa commented Oct 25, 2023

I am having the same error, did anyone find a workaround for this?

Copy link

@ewkt ewkt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this fix works!

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

Successfully merging this pull request may close these issues.

3 participants