From 4304b20afab65d7e6de905f0403307e2c9d54a09 Mon Sep 17 00:00:00 2001 From: Ram <49180516+ram-msft@users.noreply.github.com> Date: Mon, 13 Apr 2020 10:57:04 +0530 Subject: [PATCH] Update auto-ml-forecasting-bike-share.ipynb auto-ml-forecasting-bike-share.ipynb crashes in cell using shutil.copy2() under some versions of Python in the local environment. Change to shutil.copy() so it works in most Python environments. --- .../auto-ml-forecasting-bike-share.ipynb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/how-to-use-azureml/automated-machine-learning/forecasting-bike-share/auto-ml-forecasting-bike-share.ipynb b/how-to-use-azureml/automated-machine-learning/forecasting-bike-share/auto-ml-forecasting-bike-share.ipynb index 430a287d..09e59f67 100644 --- a/how-to-use-azureml/automated-machine-learning/forecasting-bike-share/auto-ml-forecasting-bike-share.ipynb +++ b/how-to-use-azureml/automated-machine-learning/forecasting-bike-share/auto-ml-forecasting-bike-share.ipynb @@ -450,8 +450,8 @@ "\n", "script_folder = os.path.join(os.getcwd(), 'forecast')\n", "os.makedirs(script_folder, exist_ok=True)\n", - "shutil.copy2('forecasting_script.py', script_folder)\n", - "shutil.copy2('forecasting_helper.py', script_folder)" + "shutil.copy('forecasting_script.py', script_folder)\n", + "shutil.copy('forecasting_helper.py', script_folder)" ] }, { @@ -630,4 +630,4 @@ }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}