from this it looks like the error is that you don't have the postgres driver, nothing to do with south
On Sun, Aug 11, 2013 at 5:51 PM, <alekto.antarctica@gmail.com> wrote:
So this is what I am getting if I run the python manage.py syncdb, without sudo:(django_project)alekto@kalahari:~/Web/prosjekt/django_project$ python manage.py syncdbTraceback (most recent call last):File "manage.py", line 10, in <module>execute_from_command_line(sys.argv)File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 453, in execute_from_command_lineutility.execute()File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 392, in executeself.fetch_command(subcommand).run_from_argv(self.argv)File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 272, in fetch_commandklass = load_command_class(app_name, subcommand)File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/core/management/__init__.py", line 77, in load_command_classmodule = import_module('%s.management.commands.%s' % (app_name, name))File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module__import__(name)File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/south/management/commands/__init__.py", line 12, in <module>from south.hacks import hacksFile "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/south/hacks/__init__.py", line 8, in <module>from south.hacks.django_1_0 import HacksFile "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/south/hacks/django_1_0.py", line 7, in <module>from django.db.backends.creation import BaseDatabaseCreationFile "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/db/__init__.py", line 40, in <module>backend = load_backend(connection.settings_dict['ENGINE'])File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/db/__init__.py", line 34, in __getattr__return getattr(connections[DEFAULT_DB_ALIAS], item)File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/db/utils.py", line 93, in __getitem__backend = load_backend(db['ENGINE'])File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/db/utils.py", line 27, in load_backendreturn import_module('.base', backend_name)File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/utils/importlib.py", line 35, in import_module__import__(name)File "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/base.py", line 14, in <module>from django.db.backends.postgresql_psycopg2.creation import DatabaseCreationFile "/home/alekto/.virtualenv/django_project/local/lib/python2.7/site-packages/django/db/backends/postgresql_psycopg2/creation.py", line 1, in <module>import psycopg2.extensionsImportError: No module named psycopg2.extensions--
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment