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:anaconda [2020/04/17 10:51] Alexandre Perraud [JupyterLab git extension] |
python:anaconda [2020/05/14 10:55] Alexandre Perraud [Problèmes / Bugs] |
||
---|---|---|---|
Ligne 2: | Ligne 2: | ||
======= Installer et configurer son environnement Python ======= | ======= Installer et configurer son environnement Python ======= | ||
+ | |||
====== Documentation et tutoriels ====== | ====== Documentation et tutoriels ====== | ||
Ligne 12: | Ligne 13: | ||
* [[https://zestedesavoir.com/tutoriels/1448/installer-un-environnement-de-developpement-python-avec-conda|Tutoriel en français]] concernant l'utilisation de //conda//. | * [[https://zestedesavoir.com/tutoriels/1448/installer-un-environnement-de-developpement-python-avec-conda|Tutoriel en français]] concernant l'utilisation de //conda//. | ||
* [[https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html|Tutoriel en anglais]] de conda | * [[https://docs.conda.io/projects/conda/en/latest/user-guide/getting-started.html|Tutoriel en anglais]] de conda | ||
+ | * **[[python:environnement_conda|Créer et gérer un environnement Conda]]** | ||
===== JupyterLab git extension ===== | ===== JupyterLab git extension ===== | ||
Ligne 57: | Ligne 59: | ||
* Démarrer Juypter Lab : <code>jupyter lab</code> | * Démarrer Juypter Lab : <code>jupyter lab</code> | ||
* Si on veut ajouter des nouveau paquets à l'environnement, arrêter Jupyter Lab (alt-C pour Windows ou ctrl-C pour Mac), puis ajouter les paquets à l'environnement actif, dans ce cas //py37_gitlab// puis relancer le Lab. | * Si on veut ajouter des nouveau paquets à l'environnement, arrêter Jupyter Lab (alt-C pour Windows ou ctrl-C pour Mac), puis ajouter les paquets à l'environnement actif, dans ce cas //py37_gitlab// puis relancer le Lab. | ||
+ | * Pour utiliser différents environnements, dédiés à différents projets ou technologies (NLP, etc.) voir les [[python:environnement_conda&#creer_un_nouvel_environnement_atelier_et_l_ajouter_aux_kernels_de_jupyter_lab|instructions sur cette page]] | ||
\\ | \\ | ||
Ligne 63: | Ligne 66: | ||
==== Problèmes / Bugs ==== | ==== Problèmes / Bugs ==== | ||
- | === Problème au lancement de Anaconda === | + | Voir les [[python:bugs_connus_conda|Problèmes / Bugs]] connus concernant l'installation de Miniconda ou de ses plugins |
- | + | ||
- | * Sous Windows, si le kernel ne démarre pas, avec l'erreur "manque win32api", insaller: <code>conda install pywin32</code> | + | |
- | + | ||
- | * Sous Windows 7 problème au lancement de Anaconda. Solution qui marche ([[https://github.com/ContinuumIO/anaconda-issues/issues/1467|Source]]) : | + | |
- | + | ||
- | PROBLEM: Anaconda Navigator won't start (nor will Spyder, IPython, ...). Error is reported: | + | |
- | This application failed to start because it could not find or load the Qt platform plugin "windows" in "" | + | |
- | + | ||
- | SOLUTION: | + | |
- | Copier le dossier | + | |
- | Continuum\Anaconda3\Library\plugins\platforms | + | |
- | vers le dossier | + | |
- | Continuum\Anaconda3 | + | |
- | + | ||
- | * Sous Windows 10 problème lorsque on teste <code>conda list</code> renvoit l'erreur : <code>conda: command not found error</code>. | + | |
- | SOLUTION: | + | |
- | * voir cette documentation : [[https://support.anaconda.com/hc/en-us/articles/360023863234-Conda-command-not-found-error|Conda: "command not found" error]], complété par **[[https://stackoverflow.com/questions/44597662/conda-command-is-not-recognized-on-windows-10?answertab=active#tab-top|ces explications très utiles]]**. | + | |
- | * voir éventuellement cette [[https://stackoverflow.com/questions/18675907/how-to-run-conda?answertab=active#tab-top|documentation supplémentaire]] | + | |
===== Linux Ubuntu 18.04 - Mint 19 ===== | ===== Linux Ubuntu 18.04 - Mint 19 ===== | ||