Description
Hi,
I am not able to practice the codes in the book because I am stuck with importing mglearn. (I am using PyCharm). Here is the error message I receive:
Traceback (most recent call last):
File "/Users/sebgok/PycharmProjects/Book/sampleDatasets.py", line 4, in
import mglearn
File "/Users/sebgok/PycharmProjects/Book/venv/lib/python3.8/site-packages/mglearn/init.py", line 1, in
from . import plots
File "/Users/sebgok/PycharmProjects/Book/venv/lib/python3.8/site-packages/mglearn/plots.py", line 2, in
from .plot_interactive_tree import plot_tree_progressive, plot_tree_partition
File "/Users/sebgok/PycharmProjects/Book/venv/lib/python3.8/site-packages/mglearn/plot_interactive_tree.py", line 6, in
from sklearn.externals.six import StringIO # doctest: +SKIP
ModuleNotFoundError: No module named 'sklearn.externals.six'