http://www.stickpeople.com/projects/python/win-psycopg/.
Go there download the appropriate package for your system. Then you should have the module. On Jun 2, 4:15 pm, [EMAIL PROTECTED] wrote: > C:\Python25\Lib\site-packages\django\bin\webapps>manage.py syncdb > Traceback (most recent call last): > File "C:\Python25\Lib\site-packages\django\bin\webapps\manage.py", > line 11, in > <module> > execute_manager(settings) > File "C:\Python25\lib\site-packages\django\core\management.py", line > 1672, in > execute_manager > execute_from_command_line(action_mapping, argv) > File "C:\Python25\lib\site-packages\django\core\management.py", line > 1571, in > execute_from_command_line > action_mapping[action](int(options.verbosity), > options.interactive) > File "C:\Python25\lib\site-packages\django\core\management.py", line > 504, in s > yncdb > cursor = connection.cursor() > File "C:\Python25\lib\site-packages\django\db\backends > \postgresql_psycopg2\bas > e.py", line 57, in cursor > postgres_version = [int(val) for val in cursor.fetchone() > [0].split()[1].spli > t('.')] > ValueError: invalid literal for int() with base 10: '1,' > > C:\Python25\Lib\site-packages\django\bin\webapps>manage.py syncdb > Traceback (most recent call last): > File "C:\Python25\Lib\site-packages\django\bin\webapps\manage.py", > line 11, in > <module> > execute_manager(settings) > File "C:\Python25\lib\site-packages\django\core\management.py", line > 1672, in > execute_manager > execute_from_command_line(action_mapping, argv) > File "C:\Python25\lib\site-packages\django\core\management.py", line > 1571, in > execute_from_command_line > action_mapping[action](int(options.verbosity), > options.interactive) > File "C:\Python25\lib\site-packages\django\core\management.py", line > 486, in s > yncdb > from django.db import connection, transaction, models, > get_creation_module > File "C:\Python25\lib\site-packages\django\db\__init__.py", line 11, > in <modul > e> > backend = __import__('django.db.backends.%s.base' % > settings.DATABASE_ENGINE > , {}, {}, ['']) > File "C:\Python25\lib\site-packages\django\db\backends\postgresql > \base.py", li > ne 12, in <module> > raise ImproperlyConfigured, "Error loading psycopg module: %s" % e > django.core.exceptions.ImproperlyConfigured: Error loading psycopg > module: No mo > dule named psycopg > > C:\Python25\Lib\site-packages\django\bin\webapps> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---