Opened 14 years ago

Closed 14 years ago

Last modified 13 years ago

#228 closed defect (wontfix)

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 (5)

comment:1 by pramsey, 14 years ago

Owner: changed from geos-devel@… to sgillies
Version: 3.1.0rc13.1.0rc2

comment:2 by sgillies, 14 years ago

Resolution: wontfix
Status: newclosed

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.

comment:3 by pramsey, 14 years ago

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

comment:4 by sgillies, 14 years ago

Good idea. See r2267 and r2268.

comment:5 by (none), 13 years ago

Milestone: 3.1.0

Milestone 3.1.0 deleted

Note: See TracTickets for help on using tickets.