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

ImportError Traceback (most recent call last) #46

Closed
LEGEND7106 opened this issue Jun 11, 2024 · 2 comments
Closed

ImportError Traceback (most recent call last) #46

LEGEND7106 opened this issue Jun 11, 2024 · 2 comments

Comments

@LEGEND7106
Copy link

Cell In[5], line 5
from sklearn.tree import DecisionTreeClassifier

----> from sklearn.externals import joblib

   music_data = pd.read_csv("music.csv")
   X = music_data.drop(columns = ["genre"])

ImportError: cannot import name 'joblib' from 'sklearn.externals' (C:\Users\USER\anaconda3\Lib\site-packages\sklearn\externals_init_.py)

@LEGEND7106
Copy link
Author

Please i need help to solve this error

@adrinjalali
Copy link
Member

Joblib is a separate package, import that directly.

@adrinjalali adrinjalali closed this as not planned Won't fix, can't repro, duplicate, stale Jun 11, 2024
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

2 participants