From dd5fb494d88368908e1dff616144136fefba17c8 Mon Sep 17 00:00:00 2001 From: James McKinney <26463+jpmckinney@users.noreply.github.com> Date: Tue, 4 Jul 2023 15:45:26 -0400 Subject: [PATCH] setup_environment: import getpass before use, correct syntax error --- setup_environment.ipynb | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/setup_environment.ipynb b/setup_environment.ipynb index a6c50c9..2163638 100644 --- a/setup_environment.ipynb +++ b/setup_environment.ipynb @@ -5,7 +5,7 @@ "colab": { "name": "setup_notebook", "provenance": [], - "authorship_tag": "ABX9TyPNHL0X/U/czPOZW0el9YnT" + "authorship_tag": "ABX9TyPajfocnRv6KzHqBnH2Lywx" }, "kernelspec": { "name": "python3", @@ -56,6 +56,8 @@ { "cell_type": "code", "source": [ + "import getpass\n", + "\n", "log_url = ''\n", "\n", "if log_url != '':\n", @@ -83,8 +85,6 @@ "id": "27yRx-oaXPtd" }, "source": [ - "import getpass\n", - "\n", "user = input('Username:')\n", "password = getpass.getpass('Password:')" ], @@ -110,7 +110,7 @@ "%shell pip install --upgrade 'ocdskingfishercolab<0.4' psycopg2-binary > pip.log\n", "\n", "# Install Scrapy Log Analyzer\n", - "pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n", + "!pip install git+https://github.com/open-contracting/scrapy-log-analyzer.git\n", "\n", "# Import libraries and functions\n", "import pandas as pd\n", @@ -172,6 +172,17 @@ ], "execution_count": null, "outputs": [] + }, + { + "cell_type": "code", + "source": [ + "!" + ], + "metadata": { + "id": "sQL1XchVxUlp" + }, + "execution_count": null, + "outputs": [] } ] } \ No newline at end of file