As written in pg. 79 of Hands-On Machine Learning with Scikit-Learn and Tensorflow, I tried to import the MNIST data liked the book told me. The code didn't work, and I looked at other stackoverflow questions & github issue, but neither of those solutions worked, so I wanted to ask if anyone knows the solution. Thanks again for helping me solve this issue.
from sklearn.datasets import fetch_mldata
minst = fetch_mldata('MNIST Original')