Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| ressources:fidle4cbp [2022/05/25 15:21] – [Lancement du jupiter-notebook] equemene | ressources:fidle4cbp [2022/05/25 15:50] (Version actuelle) – [Lancement du jupiter-notebook] equemene | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| ====== Utilisation de Fidle au Centre Blaise Pascal ====== | ====== Utilisation de Fidle au Centre Blaise Pascal ====== | ||
| - | La formation [[https:// | + | La formation [[https:// |
| Cette formation se basant sur l' | Cette formation se basant sur l' | ||
| - | Voici quelques lignes pour pouvoir lancer simplement tous les notebook | + | Voici quelques lignes pour pouvoir lancer simplement tous les // |
| ===== Création des notebooks et des bases d' | ===== Création des notebooks et des bases d' | ||
| Ligne 30: | Ligne 30: | ||
| Son chargement se fait par l' | Son chargement se fait par l' | ||
| + | |||
| + | ===== Paramétrage de l' | ||
| + | |||
| + | De manière à pointer correctement les bases d' | ||
| + | |||
| ===== Lancement du jupiter-notebook ===== | ===== Lancement du jupiter-notebook ===== | ||
| Ligne 36: | Ligne 41: | ||
| Au chargement de la ligne précédente, | Au chargement de la ligne précédente, | ||
| - | [I 17:16:18.225 NotebookApp] Serving notebooks from local directory: / | + | [I 17:26:36.731 NotebookApp] Serving notebooks from local directory: / |
| - | [I 17:16:18.225 NotebookApp] Jupyter Notebook 6.4.11 is running at: | + | [I 17:26:36.731 NotebookApp] Jupyter Notebook 6.4.11 is running at: |
| - | [I 17:16:18.225 NotebookApp] http:// | + | [I 17:26:36.731 NotebookApp] http:// |
| - | [I 17:16:18.225 NotebookApp] | + | [I 17:26:36.732 NotebookApp] |
| - | [I 17:16:18.225 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). | + | [I 17:26:36.732 NotebookApp] Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). |
| - | [C 17:16:18.238 NotebookApp] | + | [C 17:26:36.743 NotebookApp] |
| | | ||
| To access the notebook, open this file in a browser: | To access the notebook, open this file in a browser: | ||
| - | file:/// | + | file:/// |
| Or copy and paste one of these URLs: | Or copy and paste one of these URLs: | ||
| - | http:// | + | http:// |
| - | or http:// | + | or http:// |
| </ | </ | ||
| - | Copier l' | + | Copier l' |
| Cette ligne ouvre le serveur Web créé par l' | Cette ligne ouvre le serveur Web créé par l' | ||
| - | <note warning> | + | <note warning> |
| - | ==== Installation d'un logiciel dans l' | + | |
| - | Une fois l'environnement chargé avec '' | + | ===== Chargement d'un notebook dans le navigateur ===== |
| - | Par exemple, pour l'installation de machine learning **pytorch** | + | Une fois l'adresse précédente copiée dans le navigateur, on obtient ceci : |
| - | ==== Logs complets d'une installation ==== | + | {{: |
| - | Voici les logs complets d'une installation classique : | + | Ces deux dossiers **fidle** et **fidle-datasets** contiennent respectivement l'ensemble des //notebooks// du cours et les bases d' |
| - | < | + | |
| - | [/home/jmylq/miniconda3] >>> | + | |
| - | PREFIX=/ | + | |
| - | Unpacking payload ... | + | |
| - | Collecting package metadata (current_repodata.json): done | + | |
| - | Solving environment: | + | |
| - | ## Package Plan ## | + | Par exemple, pour sélectionner le notebook sur l' |
| - | environment location: / | + | {{:ressources: |
| - | added / updated specs: | + | Le //notebook// se charge. Pour l' |
| - | - _libgcc_mutex==0.1=main | + | |
| - | - brotlipy==0.7.0=py39h27cfd23_1003 | + | |
| - | - ca-certificates==2020.12.8=h06a4308_0 | + | |
| - | - certifi==2020.12.5=py39h06a4308_0 | + | |
| - | - cffi==1.14.4=py39h261ae71_0 | + | |
| - | - chardet==3.0.4=py39h06a4308_1003 | + | |
| - | - conda-package-handling==1.7.2=py39h27cfd23_1 | + | |
| - | - conda==4.9.2=py39h06a4308_0 | + | |
| - | - cryptography==3.3.1=py39h3c74f83_0 | + | |
| - | - idna==2.10=py_0 | + | |
| - | - ld_impl_linux-64==2.33.1=h53a641e_7 | + | |
| - | - libedit==3.1.20191231=h14c3975_1 | + | |
| - | - libffi==3.3=he6710b0_2 | + | |
| - | - libgcc-ng==9.1.0=hdf63c60_0 | + | |
| - | - libstdcxx-ng==9.1.0=hdf63c60_0 | + | |
| - | - ncurses==6.2=he6710b0_1 | + | |
| - | - openssl==1.1.1i=h27cfd23_0 | + | |
| - | - pip==20.3.1=py39h06a4308_0 | + | |
| - | - pycosat==0.6.3=py39h27cfd23_0 | + | |
| - | - pycparser==2.20=py_2 | + | |
| - | - pyopenssl==20.0.0=pyhd3eb1b0_1 | + | |
| - | - pysocks==1.7.1=py39h06a4308_0 | + | |
| - | - python==3.9.1=hdb3f193_2 | + | |
| - | - readline==8.0=h7b6447c_0 | + | |
| - | - requests==2.25.0=pyhd3eb1b0_0 | + | |
| - | - ruamel_yaml==0.15.80=py39h27cfd23_0 | + | |
| - | - setuptools==51.0.0=py39h06a4308_2 | + | |
| - | - six==1.15.0=py39h06a4308_0 | + | |
| - | - sqlite==3.33.0=h62c20be_0 | + | |
| - | - tk==8.6.10=hbc83047_0 | + | |
| - | - tqdm==4.54.1=pyhd3eb1b0_0 | + | |
| - | - tzdata==2020d=h14c3975_0 | + | |
| - | - urllib3==1.25.11=py_0 | + | |
| - | - wheel==0.36.1=pyhd3eb1b0_0 | + | |
| - | - xz==5.2.5=h7b6447c_0 | + | |
| - | - yaml==0.2.5=h7b6447c_0 | + | |
| - | - zlib==1.2.11=h7b6447c_3 | + | |
| + | {{: | ||
| - | The following NEW packages will be INSTALLED: | + | Au chargement des éléments initiaux, le // |
| - | _libgcc_mutex | + | {{:ressources:fidle4.png?600|}} |
| - | brotlipy | + | |
| - | ca-certificates | + | |
| - | certifi | + | |
| - | cffi | + | |
| - | chardet | + | |
| - | conda pkgs/ | + | |
| - | conda-package-han~ pkgs/ | + | |
| - | cryptography | + | |
| - | idna | + | |
| - | ld_impl_linux-64 | + | |
| - | libedit | + | |
| - | libffi | + | |
| - | libgcc-ng | + | |
| - | libstdcxx-ng | + | |
| - | ncurses | + | |
| - | openssl | + | |
| - | pip pkgs/ | + | |
| - | pycosat | + | |
| - | pycparser | + | |
| - | pyopenssl | + | |
| - | pysocks | + | |
| - | python | + | |
| - | readline | + | |
| - | requests | + | |
| - | ruamel_yaml | + | |
| - | setuptools | + | |
| - | six pkgs/ | + | |
| - | sqlite | + | |
| - | tk | + | |
| - | tqdm | + | |
| - | tzdata | + | |
| - | urllib3 | + | |
| - | wheel pkgs/ | + | |
| - | xz | + | |
| - | yaml | + | |
| - | zlib | + | |
| + | L' | ||
| - | Preparing transaction: done | + | {{:ressources:fidle5.png?600|}} |
| - | Executing transaction: done | + | |
| - | installation finished. | + | |
| - | Do you wish the installer to initialize Miniconda3 | + | |
| - | by running conda init? [yes|no] | + | |
| - | [no] >>> | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | no change | + | |
| - | modified | + | |
| - | ==> For changes to take effect, close and re-open your current shell. <== | + | ===== Fermeture de son environnement jupyter notebook ===== |
| - | If you'd prefer that conda's base environment not be activated on startup, | + | Après exploitation, |
| - | set the auto_activate_base parameter to false: | + | Shutdown this notebook server (y/[n])? y |
| - | + | [C 17:43:03.495 NotebookApp] Shutdown confirmed | |
| - | conda config | + | [I 17: |
| - | + | [I 17: | |
| - | Thank you for installing Miniconda3! | + | [I 17: |
| </ | </ | ||
| - | |||
| - | |||