Skip to main content

Virtualenv and setuptools friendly version of standard GDAL python bindings

Project description

Virtualenv friendly GDAL bindings for Python

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 libgdal1-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

# ...

Project details


Release history Release notifications | RSS feed

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pygdal-3.7.1.12.tar.gz (5.4 kB view details)

Uploaded Source

File details

Details for the file pygdal-3.7.1.12.tar.gz.

File metadata

  • Download URL: pygdal-3.7.1.12.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.12

File hashes

Hashes for pygdal-3.7.1.12.tar.gz
Algorithm Hash digest
SHA256 10ca47743168e8a6ff0969f523e7e5e6605b073efab9a742533d3ba858d3656b
MD5 0034ca612cf5fe01eb5b40e6ffcf279c
BLAKE2b-256 5513a8b5409e91a6c3601614d0b25cde76d000ee83519c6e53036103444ce4ce

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page