From e1c9f61c5b6b5a5af0cc25e3b375f28f9032c671 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 73c5ead..c128908 100644 --- a/13_convolutional_neural_networks.ipynb +++ b/13_convolutional_neural_networks.ipynb @@ -501,6 +501,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, @@ -1949,7 +1959,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.5.2" + "version": "3.6.1" }, "nav_menu": {}, "toc": { From 70d0ab9ec74135c58a7be9035692399eb12491f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aur=C3=A9lien=20Geron?= 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 539de01..b3eec36 100644 --- a/13_convolutional_neural_networks.ipynb +++ b/13_convolutional_neural_networks.ipynb @@ -506,8 +506,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" ] }, { @@ -1958,7 +1959,7 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.1" + "version": "3.6.2" }, "nav_menu": {}, "toc": {