amueller / introduction_to_ml_with_python

Notebooks and code for the book "Introduction to Machine Learning with Python"
7.44k stars 4.56k forks source link

TypeError: __init__() got an unexpected keyword argument 'cachedir' #164

Closed muhammadjtareen closed 7 months ago

muhammadjtareen commented 2 years ago

I installed mglearn from pip by running 'pip install mglearn' but whenever I run 'import mglearn', I receive the following error: TypeError: init() got an unexpected keyword argument 'cachedir'

Is there any fix to this issue?

embeddedpenguin commented 2 years ago

Did you ever solve this? I'm getting the same issue

embeddedpenguin commented 2 years ago

I see the fix was posted here https://github.com/amueller/introduction_to_ml_with_python/issues/162#issuecomment-1264326158

amueller commented 7 months ago

should be fixed now in the repo as well.