Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| fr:develop:collaboration:dev:environnement_python [2024/05/31 20:57] – qroyer | fr:develop:collaboration:dev:environnement_python [2026/06/03 16:44] (current) – [Aide à la création de l'environnement Python pour Windows] ylecoarer | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Création d'un environnement Python ====== | ||
| + | |||
| + | ==== Dépendances ==== | ||
| + | |||
| + | Le projet Python HABBY est hébergé sur Github accessible au lien suivant : https:// | ||
| + | |||
| + | * Python >= 3 | ||
| + | * Git | ||
| + | |||
| + | ==== Aide à la création de l' | ||
| + | |||
| + | * Télécharger la wheele GDAL : https:// | ||
| + | * https:// | ||
| + | * Installer Microsoft Visual C++ 14.0 : https:// | ||
| + | * Editez le fichier C: | ||
| + | * le chemin d' | ||
| + | * sauvegardez le fichier. | ||
| + | * Lancer le fichier ' C: | ||
| + | * Si toutes les étapes se sont bien déroulées, | ||
| + | * Votre environnement virtuel Python pour HABBY est prêt. | ||
| + | |||
| + | |||
| + | |||
| + | ==== Aide à la création de l' | ||
| + | |||
| + | * installation de GDAL for Linux and GDAL for Python (https:// | ||
| + | |||
| + | sudo apt-get install python3.6-dev | ||
| + | sudo add-apt-repository ppa: | ||
| + | sudo apt-get update | ||
| + | sudo apt-get install gdal-bin | ||
| + | ogrinfo --version | ||
| + | sudo apt-get install libgdal-dev | ||
| + | |||
| + | * Lancer le fichier ' | ||
| + | |||
| + | pip3 install pip --upgrade | ||
| + | pip3 install virtualenv | ||
| + | cd ../ | ||
| + | virtualenv --python / | ||
| + | source env_virtuels/ | ||
| + | pip3 install gdal==X.X.X --global-option=build_ext --global-option=" | ||
| + | pip3 install -r habby/ | ||
| + | python habby/ | ||
| + | |||
| + | {{indexmenu_n> | ||
| + | |||