GeoAlchemy: AttributeError: type object 'ColumnProperty' has no attribute 'ColumnComparator'

245 views
Skip to first unread message

Matej Tacer

unread,
Aug 5, 2014, 4:34:34 PM8/5/14
to geoal...@googlegroups.com
Hi, I have an issue with GeoAlchemy installation. Actually, It installed normally but then failed to import with the following error:

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import geoalchemy
  File "C:\Python27\ArcGIS10.2\lib\site-packages\geoalchemy-0.7.2-py2.7.egg\geoalchemy\__init__.py", line 2, in <module>
    from geoalchemy.base import *
  File "C:\Python27\ArcGIS10.2\lib\site-packages\geoalchemy-0.7.2-py2.7.egg\geoalchemy\base.py", line 242, in <module>
    class SpatialComparator(ColumnProperty.ColumnComparator):
AttributeError: type object 'ColumnProperty' has no attribute 'ColumnComparator'

The SqlAlchemy version installed is: 0.9.6

Since I would like to use geoalchemy with SQL Server I guess I need to use GeoAlchemy instead of GeoAlchemy 2, right?

Thanks for your help,

Matej
Reply all
Reply to author
Forward
0 new messages