amueller / introduction_to_ml_with_python

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

While importing mglearn message appears "cannot import name 'imread' from 'scipy.misc'" #134

Closed aeugene1977 closed 4 years ago

aeugene1977 commented 4 years ago

image

amueller commented 4 years ago

Thanks for reporting the issue. Which version of mglearn do you have installed and how did you install it?

aeugene1977 commented 4 years ago

Thanks for reporting the issue. Which version of mglearn do you have installed and how did you install it? I downloaded mglearn from github, here is only one version, I don't see version number. Then I saved it in folder where anaconda packets are installed (numpy, scipy etc.) No other instructions I have found.

amueller commented 4 years ago

Well the instructions in the readme of this repo and in the book say to run pip install mglearn: https://github.com/amueller/introduction_to_ml_with_python

If you do that, there'll be a mglearn.__version__ that tells you which version you're using.

aeugene1977 commented 4 years ago

Thanks, Andreas, it works.