From d573713661e3d199c8ef12221e5d3a712308d158 Mon Sep 17 00:00:00 2001 From: soma11soma11 Date: Wed, 20 Sep 2017 17:45:31 +0100 Subject: [PATCH 1/2] added comment on SSL: CERTIFICATE_VERIFY_FAILED --- 13_convolutional_neural_networks.ipynb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/13_convolutional_neural_networks.ipynb b/13_convolutional_neural_networks.ipynb index 12c3c40..50b946a 100644 --- a/13_convolutional_neural_networks.ipynb +++ b/13_convolutional_neural_networks.ipynb @@ -713,6 +713,16 @@ " saver = tf.train.Saver()" ] }, + { + "cell_type": "markdown", + "metadata": { + "collapsed": true + }, + "source": [ + "If you are using Python 3.6 on OSX, you need to run the following command on terminal to install the certifi package of certificates because Python 3.6 on OSX has no certificates to validate SSL connections. (https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error) \n", + "/Applications/Python\\ 3.6/Install\\ Certificates.command" + ] + }, { "cell_type": "code", "execution_count": 22, @@ -2642,7 +2652,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.2" + "version": "3.6.1" }, "nav_menu": {}, "toc": { From 8f07ff0d3082d89e8d81474674ee436fa3bcf6a2 Mon Sep 17 00:00:00 2001 From: Aurelien Geron Date: Wed, 18 Oct 2017 09:18:46 +0200 Subject: [PATCH 2/2] Improve comment format about OSX and Python 3.6, SSL certificates --- 13_convolutional_neural_networks.ipynb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/13_convolutional_neural_networks.ipynb b/13_convolutional_neural_networks.ipynb index 1d0f2f3..045ce17 100644 --- a/13_convolutional_neural_networks.ipynb +++ b/13_convolutional_neural_networks.ipynb @@ -718,8 +718,9 @@ "collapsed": true }, "source": [ - "If you are using Python 3.6 on OSX, you need to run the following command on terminal to install the certifi package of certificates because Python 3.6 on OSX has no certificates to validate SSL connections. (https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error) \n", - "/Applications/Python\\ 3.6/Install\\ Certificates.command" + "Note: if you are using Python 3.6 on OSX, you need to run the following command on terminal to install the certifi package of certificates because Python 3.6 on OSX has no certificates to validate SSL connections (see this [StackOverflow question](https://stackoverflow.com/questions/27835619/urllib-and-ssl-certificate-verify-failed-error)):\n", + "\n", + " $ /Applications/Python\\ 3.6/Install\\ Certificates.command" ] }, { @@ -2651,7 +2652,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.1" + "version": "3.6.2" }, "nav_menu": {}, "toc": {