Pygdal
Virtualenv and setuptools friendly version of standard GDAL python bindings
Install / Use
/learn @nextgis/PygdalREADME
Virtualenv friendly GDAL < 3.7 bindings for Python
IMPORTANT NOTE: Starting with version 3.7, GDAL can be installed directly from PyPI without major issues. Therefore, you should not need this package for GDAL 3.7 or later. Pygdal 3.6.* will be the last release of this package.
This package is for you if you had problems installing GDAL in your virtualenv. You can install GDAL into your virtualenv using this package but you still need to install GDAL library and its header files on your system. On Ubuntu it can be done this way:
$ sudo apt-get install libgdal-dev
Version of the same package, and GDAL, so that if you have installed GDAL 3.6.4 you need to install 3.6.4.* of this package:
$ gdal-config --version
3.6.4
$ virtualenv --no-site-packages env
$ env/bin/pip install pygdal=="3.6.4.*"
The trick with range of versions required to support pygdal versioning.
Package numpy is also listed as a dependency, so you do not need to install it
before installing GDAL. After package is installed you can use is same way as
standard GDAL bindings:
from osgeo import gdal, ogr, osr
# ...
Related Skills
node-connect
346.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
107.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
346.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
346.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
