Skip to content

Instantly share code, notes, and snippets.

@ruxi
Created October 14, 2015 22:43
Show Gist options
  • Save ruxi/7c85bccbec8293a7d332 to your computer and use it in GitHub Desktop.
Save ruxi/7c85bccbec8293a7d332 to your computer and use it in GitHub Desktop.
version_information error minimum example
Display the source blob
Display the rendered blob
Raw
{
"cells": [
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"collapsed": false,
"run_control": {
"read_only": false
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"The version_information extension is already loaded. To reload it, use:\n",
" %reload_ext version_information\n"
]
},
{
"data": {
"application/json": "{\"Software versions\": [{\"module\": \"Python\", \"version\": \"3.4.0 64bit [GCC 4.8.2]\"}, {\"module\": \"IPython\", \"version\": \"1.2.1\"}, {\"module\": \"OS\", \"version\": \"Linux 3.16.0 33 generic x86_64 with LinuxMint 17.1 rebecca\"}]}",
"text/html": [
"<table><tr><th>Software</th><th>Version</th></tr><tr><td>Python</td><td>3.4.0 64bit [GCC 4.8.2]</td></tr><tr><td>IPython</td><td>1.2.1</td></tr><tr><td>OS</td><td>Linux 3.16.0 33 generic x86_64 with LinuxMint 17.1 rebecca</td></tr><tr><td colspan='2'>Wed Oct 14 17:39:09 2015 CDT</td></tr></table>"
],
"text/latex": [
"\\begin{tabular}{|l|l|}\\hline\n",
"{\\bf Software} & {\\bf Version} \\\\ \\hline\\hline\n",
"Python & 3.4.0 64bit [GCC 4.8.2] \\\\ \\hline\n",
"IPython & 1.2.1 \\\\ \\hline\n",
"OS & Linux 3.16.0 33 generic x86\\_64 with LinuxMint 17.1 rebecca \\\\ \\hline\n",
"\\hline \\multicolumn{2}{|l|}{Wed Oct 14 17:39:09 2015 CDT} \\\\ \\hline\n",
"\\end{tabular}\n"
],
"text/plain": [
"Software versions\n",
"Python 3.4.0 64bit [GCC 4.8.2]\n",
"IPython 1.2.1\n",
"OS Linux 3.16.0 33 generic x86_64 with LinuxMint 17.1 rebecca\n",
"Wed Oct 14 17:39:09 2015 CDT"
]
},
"execution_count": 2,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"%load_ext version_information\n",
"%version_information"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"Refresh (F5) should yield similar prompt stating **Notebook validation failed**"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "IPython (Python 3)",
"language": "python",
"name": "python3"
},
"language_info": {
"name": "python",
"version": "3.4.0"
}
},
"nbformat": 4,
"nbformat_minor": 0
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment