amueller / introduction_to_ml_with_python

Notebooks and code for the book "Introduction to Machine Learning with Python"

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

aeugene1977 opened this issue · comments

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

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.

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.

Thanks, Andreas, it works.