Keras loads the mnist data set

from keras.datasets import mnist
(train_images,train_labels),(test_images,test_labels)=mnist.load_data()

Report here SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed 错误

Solved by the following command

> cd "/Applications/Python 3.7/"
> sudo "./Install Certificates.command"

 

Guess you like

Origin www.cnblogs.com/Erick-L/p/12686645.html