Hi, I tried installing GeoDjango on Ubuntu and assumed that GEOS and Proj existed on Linux and directly installed PostGIS.
Now I ran the tests as given on the Django site<https://code.djangoproject.com/wiki/GeoDjangoInstall#Third-PartyLibraryInstallationTests>, and this is the output I am receiving >>>from django.contrib.gis.tests import test_gdal Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/contrib/gis/tests/__init__.py", line 2, in <module> from django.test.simple import build_suite, DjangoTestSuiteRunner File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/test/__init__.py", line 5, in <module> from django.test.client import Client, RequestFactory File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/test/client.py", line 21, in <module> from django.test import signals File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/test/signals.py", line 2, in <module> from django.db import connections File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/db/__init__.py", line 11, in <module> if DEFAULT_DB_ALIAS not in settings.DATABASES: File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/utils/functional.py", line 184, in inner self._setup() File "/home/smaranh/django-env/local/lib/python2.7/site-packages/django/conf/__init__.py", line 40, in _setup raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE) ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. Should I uninstall PostGIS and install GEOS and PROJ or should I install them over PostGIS? Also how do I uninstall PostGIS? -- Thanks & Regards Smaran Harihar
_______________________________________________ postgis-users mailing list postgis-users@postgis.refractions.net http://postgis.refractions.net/mailman/listinfo/postgis-users