Ci-dessous, les différences entre deux révisions de la page.
Prochaine révision | Révision précédente Prochaine révision Les deux révisions suivantes | ||
python:environnement_conda [2020/05/13 17:03] Francesco Beretta créée |
python:environnement_conda [2020/05/13 20:56] Francesco Beretta |
||
---|---|---|---|
Ligne 1: | Ligne 1: | ||
- | Revenir à [[python:jupyterlab_plugins|JupyterLab git extension]] | + | Revenir à [[python:anaconda|Installer et configurer son environnement Python]] |
+ | |||
+ | |||
+ | ====== 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 | ||
+ | conda info | ||
+ | conda info --envs | ||
+ | </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 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: | ||
+ | |||
+ | |||
+ |