Hi,
I am trying to get GeoDjango up and running.
I followed these instructions (on Windows 7, Postgres 9.3.5).
I followed these instructions:
And get the error
ImportError: cannot import name 'GEOSException'
I am not familiary enough with Python, Django or GeoDjango to be able to figure out the issue.
Any help would be appreciated.
Ivan
(ATMapp) C:\Python34\allenvs\ATMappenv\ATMApp>python manage.py makemigrations
Traceback (most recent call last):
File "manage.py", line 10, in <module>
execute_from_command_line(sys.argv)
File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line
385, in execute_from_command_line
utility.execute()
File "C:\Python34\lib\site-packages\django\core\management\__init__.py", line
354, in execute
django.setup()
File "C:\Python34\lib\site-packages\django\__init__.py", line 21, in setup
apps.populate(settings.INSTALLED_APPS)
File "C:\Python34\lib\site-packages\django\apps\registry.py", line 108, in pop
ulate
app_config.import_models(all_models)
File "C:\Python34\lib\site-packages\django\apps\config.py", line 202, in impor
t_models
self.models_module = import_module(models_module_name)
File "C:\Python34\lib\importlib\__init__.py", line 109, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 2254, in _gcd_import
File "<frozen importlib._bootstrap>", line 2237, in _find_and_load
File "<frozen importlib._bootstrap>", line 2226, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 1200, in _load_unlocked
File "<frozen importlib._bootstrap>", line 1129, in _exec
File "<frozen importlib._bootstrap>", line 1471, in exec_module
File "<frozen importlib._bootstrap>", line 321, in _call_with_frames_removed
File "C:\Python34\allenvs\ATMappenv\ATMApp\ATMlocator\models.py", line 2, in <
module>
from django.contrib.gis.db import models
File "C:\Python34\lib\site-packages\django\contrib\gis\db\models\__init__.py",
line 8, in <module>
from django.contrib.gis.db.models.manager import GeoManager # NOQA
File "C:\Python34\lib\site-packages\django\contrib\gis\db\models\manager.py",
line 2, in <module>
from django.contrib.gis.db.models.query import GeoQuerySet
File "C:\Python34\lib\site-packages\django\contrib\gis\db\models\query.py", li
ne 6, in <module>
from django.contrib.gis.db.models.fields import get_srid_info, PointField, L
ineStringField
File "C:\Python34\lib\site-packages\django\contrib\gis\db\models\fields.py", l
ine 4, in <module>
from django.contrib.gis import forms
File "C:\Python34\lib\site-packages\django\contrib\gis\forms\__init__.py", lin
e 2, in <module>
from .fields import (GeometryField, GeometryCollectionField, PointField, #
NOQA
File "C:\Python34\lib\site-packages\django\contrib\gis\forms\fields.py", line
8, in <module>
from django.contrib.gis.geos import GEOSException, GEOSGeometry
ImportError: cannot import name 'GEOSException'