Translations:JupyterNotebook/78/fr: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "# Chargez le module Python. {{Command2|module load python/3.5}} # Créez un nouvel environnement Python. {{Command2|virtualenv $HOME/jupyter_py3.5}} # Activez le nouvel enviro...")
(No difference)

Revision as of 18:14, 28 January 2019

Information about message (contribute)
This message has no documentation. If you know where or how this message is used, you can help other translators by adding documentation to this message.
Message definition (JupyterNotebook)
<ol>
<li>Load the Python module. {{Command2|module load python/3.5}}
<li>Create a new Python virtual environment. {{Command2|virtualenv $HOME/jupyter_py3.5}}
<li>Activate your newly created Python virtual environment. {{Command2|source $HOME/jupyter_py3.5/bin/activate}}
<li>Install the <code>ipykernel</code> library. {{Command2|prompt=(jupyter_py3.5)_[name@server ~]$|pip install ipykernel}}
<li>Generate the kernel spec file.  Substitute <code><unique_name></code> by a name that will uniquely identify your kernel. {{Command2|prompt=(jupyter_py3.5)_[name@server ~]$|python -m ipykernel install --user --name <unique_name> --display-name "Python 3.5 Kernel"}}
<li>Deactivate the virtual environment. {{Command2|prompt=(jupyter_py3.5)_[name@server ~]$|deactivate}}
</ol>
  1. Chargez le module Python.
    [name@server ~]$ module load python/3.5
    
  1. Créez un nouvel environnement Python.
    [name@server ~]$ virtualenv $HOME/jupyter_py3.5
    
  1. Activez le nouvel environnement Python.
    [name@server ~]$ source $HOME/jupyter_py3.5/bin/activate
    
  1. Installez la bibliothèque ipykernel.
    [name@server ~]$ pip install ipykernel
    
  1. Generate the kernel spec file. Remplacez <unique_name> par un nom unique pour votre noyau.
    [name@server ~]$ python -m ipykernel install --user --name <unique_name> --display-name "Python 3.5 Kernel"
    
  1. Désactivez l'environnement virtuel.
    [name@server ~]$ source deactivate