From 1ab5e16f37b13a38c6c290e3a55d7f424565b5f7 Mon Sep 17 00:00:00 2001 From: hms5232 Date: Mon, 4 Jan 2021 21:25:46 +0800 Subject: [PATCH] Update 02 about urllib module attribute See https://github.com/ageron/handson-ml2/issues/219 This error also occurred in 01. There are many PRs for 01 but none for 02? --- 02_end_to_end_machine_learning_project.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/02_end_to_end_machine_learning_project.ipynb b/02_end_to_end_machine_learning_project.ipynb index 0aafdf6..69714f2 100644 --- a/02_end_to_end_machine_learning_project.ipynb +++ b/02_end_to_end_machine_learning_project.ipynb @@ -95,7 +95,7 @@ "source": [ "import os\n", "import tarfile\n", - "import urllib\n", + "import urllib.request\n", "\n", "DOWNLOAD_ROOT = \"https://raw.githubusercontent.com/ageron/handson-ml2/master/\"\n", "HOUSING_PATH = os.path.join(\"datasets\", \"housing\")\n",