Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
python:environnement_conda [2020/05/13 20:51] Francesco Beretta |
python:environnement_conda [2020/05/13 20:56] Francesco Beretta |
||
---|---|---|---|
Ligne 4: | Ligne 4: | ||
- | Update Conda | + | ====== Métadonnées et update de Conda ====== |
+ | [[https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html#managing-environments|Documentation et tutoriel]] concernant l'utilisation de Conda | ||
- | <code >conda --version</code> | + | |
+ | <code > | ||
+ | conda --version | ||
+ | conda info | ||
+ | conda info --envs | ||
+ | </code> | ||
<code >conda update conda</code> | <code >conda update conda</code> | ||
+ | |||
+ | |||
+ | ====== Créer un nouvel environnement ====== | ||
<code> conda create --name atelier python=3.7 jupyterlab=1.2.7 jupyterlab-git </code> | <code> conda create --name atelier python=3.7 jupyterlab=1.2.7 jupyterlab-git </code> | ||
+ | |||
+ | <code>conda list</code> | ||
+ | |||
+ | <code>conda search beautifulsoup4</code> | ||
+ | |||
+ | <code>conda install beautifulsoup4</code> | ||
+ | |||
+ | Conda displays a list of all packages with that name on the Anaconda repository, so we know it is available. | ||
+ | |||
+ | Install this package into the current environment: | ||
+ | |||
+ | |||
+ | |||
+ | Check to see if the newly installed program is in this environment: | ||
+ | |||
+ | |||
+ | |||
+ |