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:

https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#windows

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'

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/645e2d51-f48a-4e93-953d-a284742a81f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to