Currently Fedora 27 ships only version 2.1.4 which cases SystemError when using Python 3 bindings and generators. This was fixed since version 2.2. The library ABI hasn't changed so it should be safe to upgrade (currently tested only with QGIS).

This is a companion discussion topic for the original entry at