{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "# Troubleshooting Azure Sentinel Notebooks\n", "\n", "If you are having trouble with Jupyter notebooks run this notebook to help\n", "identify where the problem might be.\n", "\n", "Select the notebook menu item `Cell->Run All` - check for any warnings or errors.\n", "\n", "Read the text above the cell(s) that produce errors - the text\n", "contains links to resources that describe how to fix the error." ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Python Version Check\n", "\n", "> **Note**\n", "> You can set the default Python version in Azure Notebooks project settings.\n", "> \n", "> For details on how to do this see [AzureNotebooks-ConfigurePythonVersion](https://github.com/Azure/Azure-Sentinel-Notebooks/blob/master/HowTos/AzureNotebooks-ConfigurePythonVersion.ipynb)\n", ">\n", "> If you are using a Data Science Virtual Machine as your\n", "> Azure Notebooks compute you should read [Provisioning a DSVM](https://github.com/Azure/Azure-Sentinel-Notebooks/blob/master/HowTos/Provisioning%20DSVM.ipynb)" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "ExecuteTime": { "end_time": "2020-02-27T00:34:21.030512Z", "start_time": "2020-02-27T00:34:21.016520Z" } }, "outputs": [], "source": [ "import sys\n", "from IPython.display import display, HTML, Markdown\n", "MIN_REQ_PYTHON = (3, 6)\n", "\n", "errors = []\n", "warns = []\n", "info = []\n", "def setup_err(mssg):\n", " display(Markdown(\"