Ticket #228 (closed defect: wontfix)

Opened 4 years ago

Last modified 4 years ago

import python bindings fails

Reported by: martinm Owned by: sgillies
Priority: major Milestone:
Component: Default Version: 3.1.0rc2
Severity: Unassigned Keywords:
Cc:

Description

Importing python module fails:

>>> import geos
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Library/Python/2.5/site-packages/geos/geos.py", line 60, in <module>
    class PySwigIterator(object):
  File "/Library/Python/2.5/site-packages/geos/geos.py", line 64, in PySwigIterator
    __swig_destroy__ = _geos.delete_PySwigIterator
AttributeError: 'module' object has no attribute 'delete_PySwigIterator'

Change History

Changed 4 years ago by pramsey

  • owner changed from geos-devel@… to sgillies
  • version changed from 3.1.0rc1 to 3.1.0rc2

Changed 4 years ago by sgillies

  • status changed from new to closed
  • resolution set to wontfix

Since version 3.0 the Python bindings are no longer supported. Options:

1) Become or recruit a new maintainer. 2) Use Shapely ( http://pypi.python.org/pypi/Shapely) on Python 2.4+ 3) Simply call functions from libgeos_c via Python ctypes.

Changed 4 years ago by pramsey

Sean, can you commit a dated README to this effect in the relevant directory?

Changed 4 years ago by sgillies

Good idea. See r2267 and r2268.

Changed 4 years ago by anonymous

  • milestone 3.1.0 deleted

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.