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 [2021/09/28 16:17] – qroyer | fr:develop:collaboration:dev:environnement_python [2024/05/31 20:57] (current) – qroyer | ||
|---|---|---|---|
| Line 11: | Line 11: | ||
| * Installer les dépendances. | * Installer les dépendances. | ||
| - | * Télécharger la wheele GDAL : https://www.lfd.uci.edu/ | + | * Télécharger la wheele GDAL : https://github.com/cgohlke/geospatial-wheels |
| * https:// | * https:// | ||
| - | * Installer Microsoft Visual C++ 14.0 : https:// | + | * Installer Microsoft Visual C++ 14.0 : https:// |
| * Ouvrez le fichier ' | * Ouvrez le fichier ' | ||
| * le chemin d' | * le chemin d' | ||
| Line 25: | Line 25: | ||
| ==== Aide à la création de l' | ==== 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 pip --upgrade | ||
| Line 31: | Line 42: | ||
| virtualenv --python / | virtualenv --python / | ||
| source env_virtuels/ | source env_virtuels/ | ||
| - | pip3 install gdal==2.2.3 --global-option=build_ext --global-option=" | + | pip3 install gdal==X.X.X --global-option=build_ext --global-option=" |
| pip3 install -r habby/ | pip3 install -r habby/ | ||
| python habby/ | python habby/ | ||