fr:develop:collaboration:dev:environnement_python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
fr:develop:collaboration:dev:environnement_python [2021/03/15 14:15] qroyerfr:develop:collaboration:dev:environnement_python [2021/05/20 11:31] qroyer
Line 3: Line 3:
 ==== Dépendances ==== ==== Dépendances ====
  
-HABBY fonctionne sous Windows, Linux et Mac. Le projet Python HABBY est hébergé sur Github accessible au lien suivant : https://github.com/YannIrstea/habby. +Le projet Python HABBY est hébergé sur Github accessible au lien suivant : https://github.com/YannIrstea/habby. 
  
   * Python >= 3   * Python >= 3
Line 11: Line 11:
  
   * Installer les dépendances.   * Installer les dépendances.
-  * Installer GDAL : https://www.gisinternals.com/release.php+  * Télécharger la wheele GDAL : https://www.lfd.uci.edu/~gohlke/pythonlibs/#gdal  
 +    * https://www.gisinternals.com/release.php
   * Installer Microsoft Visual C++ 14.0 : https://visualstudio.microsoft.com/fr/visual-cpp-build-tools/   * Installer Microsoft Visual C++ 14.0 : https://visualstudio.microsoft.com/fr/visual-cpp-build-tools/
   * Ouvrez le fichier 'creation_env_habby.bat' et spécifiez :   * Ouvrez le fichier 'creation_env_habby.bat' et spécifiez :
Line 20: Line 21:
   * Si toutes les étapes se sont bien déroulées, vous devriez voir apparaitre la fenêtre principale d'HABBY.   * Si toutes les étapes se sont bien déroulées, vous devriez voir apparaitre la fenêtre principale d'HABBY.
   * Votre environnement virtuel Python pour HABBY est prêt.   * Votre environnement virtuel Python pour HABBY est prêt.
 +
 +
 +
 +==== Aide à la création de l'environnement Python pour Linux ====
 +
 +   pip3 install pip --upgrade
 +   pip3 install virtualenv
 +   cd ../habby_dev
 +   virtualenv --python /usr/bin/python3.6 env_virtuels/env_habby_dev_pip
 +   source env_virtuels/env_habby_dev_pip/bin/activate
 +   pip3 install gdal==2.2.3 --global-option=build_ext --global-option="-I/usr/include/gdal/"
 +   pip3 install -r habby/requirements.txt
 +   python habby/habby.py
 +
 +{{indexmenu_n>1}}
  
  
  • fr/develop/collaboration/dev/environnement_python.txt
  • Last modified: 2024/05/31 20:57
  • by qroyer