Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision Next revisionBoth sides next revision | ||
fr:develop:collaboration:dev:environnement_python [2021/03/11 21:55] – créée qroyer | fr:develop:collaboration:dev:environnement_python [2021/03/30 16:29] – qroyer | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Création d'un environnement Python ====== | ====== Création d'un environnement Python ====== | ||
- | |||
- | Si besoin, vous trouverez ci-dessous, les étapes pour faciliter la création de l' | ||
- | |||
- | ===== Windows ===== | ||
==== Dépendances ==== | ==== Dépendances ==== | ||
+ | |||
+ | Le projet Python HABBY est hébergé sur Github accessible au lien suivant : https:// | ||
* Python >= 3 | * Python >= 3 | ||
* Git | * Git | ||
- | * Microsoft Visual C++ 14.0 : https:// | ||
- | * GDAL : https:// | ||
- | ==== Étape par étape | + | ==== Aide à la création de l' |
- | * Avoir cloné le projet git https://github.com/YannIrstea/habby | + | * Installer les dépendances. |
- | * Télécharger les dépendances décrites ci-dessus. | + | * Télécharger la wheele GDAL : https://www.lfd.uci.edu/~gohlke/pythonlibs/# |
+ | * https:// | ||
+ | * Installer Microsoft Visual C++ 14.0 : https:// | ||
* Ouvrez le fichier ' | * Ouvrez le fichier ' | ||
* le chemin d' | * le chemin d' | ||
Line 24: | Line 22: | ||
* Votre environnement virtuel Python pour HABBY est prêt. | * Votre environnement virtuel Python pour HABBY est prêt. | ||
- | ===== Linux ===== | ||
- | ===== Mac ===== | + | |
+ | ==== Aide à la création de l' | ||
+ | |||
+ | pip3 install pip --upgrade | ||
+ | pip3 install virtualenv | ||
+ | cd / | ||
+ | | ||
+ | | ||
+ | pip3 install gdal=2.2.3 --global-option=build_ext --global-option=" | ||
+ | pip3 install -r / | ||
+ | ## RUN HABBY | ||
+ | | ||