Certificate verification and OpenSSL with Python 3.6

I was following A Guide to TF Layers: Building a Convolutional Neural Network. When I excuted

mnist = tf.contrib.learn.datasets.load_dataset("mnist")

I got an error. The last line of the error was

URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:749)>

which sounds like some network issue. First, I reached a GitHub page, which directed to another GitHub page. According to the second page, I had to open ReadMe.rtf in the Python 3.6 application folder. It explains the issue regarding OpenSSL and suggests to run Install Certificates.command.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s