From 53dbcf01d03735ea159ddd141117898cb3d00345 Mon Sep 17 00:00:00 2001 From: Baptiste Jonglez <baptiste.jonglez@inria.fr> Date: Tue, 23 Jul 2024 11:40:15 +0200 Subject: [PATCH] Install enoslib[jupyter], update to major version 10 --- setup_for_use_in_g5k.ipynb | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/setup_for_use_in_g5k.ipynb b/setup_for_use_in_g5k.ipynb index 3daec19..78705b2 100644 --- a/setup_for_use_in_g5k.ipynb +++ b/setup_for_use_in_g5k.ipynb @@ -13,7 +13,7 @@ "---\n", "\n", "- Website: https://discovery.gitlabpages.inria.fr/enoslib/index.html\n", - "- Instant chat: https://framateam.org/enoslib\n", + "- Support channel: https://framateam.org/enoslib\n", "- Source code: https://gitlab.inria.fr/discovery/enoslib\n", "\n", "---" @@ -61,11 +61,11 @@ "virtualenv -p python3 my_venv\n", "source my_venv/bin/activate\n", "\n", - "# install a specific version \n", - "python3 -m pip install -U enoslib==9.2.1\n", + "# install a specific major version\n", + "python3 -m pip install -U 'enoslib[jupyter]>=10,<11'\n", "\n", - "# install the latest version\n", - "# python3 -m pip install -U git+https://gitlab.inria.fr/discovery/enoslib\n", + "# install the latest development version\n", + "# python3 -m pip install -U 'enoslib[jupyter] @ git+https://gitlab.inria.fr/discovery/enoslib'\n", "\n", "# install some extra dependencies\n", "python3 -m pip install matplotlib seaborn pandas scapy\n", @@ -85,8 +85,8 @@ "<div class=\"alert alert-warning\"> \n", "Goal: Make sure we're using the library installed in the previous virtual environment.\n", "\n", - "- Switch the kernel to `my_venv`: `kernel > Change kernel` and select `my_venv`\n", - "- - Refresh the browser (optional but sometime required)\n", + "- Switch the kernel to `my_venv`: in the notebook interface, go to `Kernel > Change kernel` and select `my_venv`\n", + "- Refresh the browser (optional but sometime required)\n", "- Re-execute this notebook\n", "</div>" ] @@ -113,8 +113,7 @@ "import enoslib as en\n", "\n", "# check the version\n", - "en.check()\n", - "\n" + "en.check()" ] }, { -- GitLab