JupyterNotebook/fr: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 156: Line 156:
Il est possible d'ajouter des ''kernels'' pour d'autres langages de programmation ou pour des versions de Python différentes de celle dans laquelle fonctionne Jupyter Notebook. Pour plus d'information, consultez [http://jupyter-client.readthedocs.io/en/latest/kernels.html Making kernels for Jupyter].
Il est possible d'ajouter des ''kernels'' pour d'autres langages de programmation ou pour des versions de Python différentes de celle dans laquelle fonctionne Jupyter Notebook. Pour plus d'information, consultez [http://jupyter-client.readthedocs.io/en/latest/kernels.html Making kernels for Jupyter].


The installation of a new kernel is done in two steps.
L'nstallation se fait en deux étapes.
#Installation of the packages that will allow the language interpreter to communicate with Jupyter Notebook.  
#Installation des paquets permettant à l'interpréteur de communiquer avec Jupyter Notebook.  
#Creation of a file that will indicate to Jupyter Notebook how to initiate a communication channel with the language interpreter. This file is called a ''kernel spec file''.
#Création du fichier pour que Jupyter Notebook puisse créer un canal de communication avec l'interpréteur : ce fichier est le ''kernel spec file''.


Each kernel spec file has to be created in its own subfolder inside a folder in your home directory with the following path <code> ~/.local/share/jupyter/kernels</code>. Jupyter Notebook does not create this folder, so the first step in all cases is to create it. You can use the following command.
Each kernel spec file has to be created in its own subfolder inside a folder in your home directory with the following path <code> ~/.local/share/jupyter/kernels</code>. Jupyter Notebook does not create this folder, so the first step in all cases is to create it. You can use the following command.
rsnt_translations
56,437

edits