From cf7d8cc75360be111d67efcd231ec1d5293288fe Mon Sep 17 00:00:00 2001 From: Mohsen Hariri Date: Wed, 24 Jan 2024 16:02:38 -0500 Subject: [PATCH] local runtime --- notebooks/note.ipynb | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/notebooks/note.ipynb b/notebooks/note.ipynb index 3624787..044ba0b 100644 --- a/notebooks/note.ipynb +++ b/notebooks/note.ipynb @@ -7,6 +7,7 @@ "outputs": [], "source": [ "%%bash\n", + "# In case of using global env\n", "/home/mohsen/envs/py/jupyter/bin/python -m ensurepip --default-pip\n", "/home/mohsen/envs/py/jupyter/bin/python -m pip install --upgrade pip\n", "/home/mohsen/envs/py/jupyter/bin/python -m pip install numpy" @@ -18,6 +19,7 @@ "metadata": {}, "outputs": [], "source": [ + "# In case of using global env\n", "import os\n", "import sys\n", "current_directory = os.getcwd()\n", @@ -27,6 +29,17 @@ "print(\"python path:\", sys.executable)" ] }, + { + "cell_type": "code", + "execution_count": null, + "metadata": {}, + "outputs": [], + "source": [ + "%%bash\n", + "# In case of using the current project env\n", + "pip install --upgrade pip" + ] + }, { "cell_type": "code", "execution_count": null,