PyGPlates supports Python 3

Hi all,

PyGPlates now supports Python 3.

You can download pyGPlates.

What’s new in pyGPlates revision 28:-

  • Windows and macOS support for Python 2.7, 3.5, 3.6, 3.7 and 3.8.
    • macOS libraries signed and notarized by Apple (should no longer get security prompts).
  • Ubuntu support for 16.04 LTS (Xenial), 18.04 LTS (Bionic), 19.10 (Eoan), 20.04 LTS (Focal) and 20.10 (Groovy).
  • Create topological features (dynamic lines, polygons and deforming networks):
    • Usually they are built in GPlates, but this can now be done in pyGPlates.
    • See the sample code.
  • Supports deforming trenches when used with subduction convergence script.
  • Much faster querying of reconstructions.
  • Bug fixes.

More information about this release.

PyGPlates documentation and tutorials.


John Cannon, Lead GPlates Developer -

1 Like

Please note that we’ve uploaded new macOS builds. The previous ones only supported macOS 10.15+ (Catalina). The new ones support 10.13+ (High Sierra, Mojave, Catalina, and any upcoming macOS release).

Also note that you may get the following message when loading/saving OGR files (eg, Shapefiles) with pyGPlates (although if you happen to have the PROJ library installed on your system then you might not):

ERROR 1: PROJ: proj_identify: Cannot find proj.db
ERROR 1: PROJ: proj_create_from_database: Cannot find proj.db

…but the proj.db file should not be needed by pyGPlates, so you can ignore the error for now. We are addressing this issue in the next GPlates/pyGPlates releases.

Awesome! I am really happy with the move to Python 3 and 64 bit :slight_smile:

We’ve added a Debian package for the latest Ubuntu 20.10 (Groovy). Thanks Michael.

In regard to the new Python 3.9, we’ll wait until Python 3.9.1 is out (there is an issue with Python 3.9.0 and C extensions being sorted out). So we recommend staying with Python 3.8 for now (particularly on Windows and macOS).