Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Jan. 15, 2011 05:11:34

D.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Beginner question about Postgresql


I am using Python27, Django and wanted to us Postgresql, but I am
having problems.

When I start a new project and run syncdb for the first time I get an
error.

\postgresql_psycopg2\base.py line24....................."Improperly
Configured: Error loading psycopg2 module: no medule named psycopg2"

I have loaded psycopg2 so I am lost.

--
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
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 15, 2011 05:22:55

Anurag C.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

Beginner question about Postgresql


If you have installed psycopg2 then are you able to load psycopg2 from the
Python Command Prompt? Try this below and see if import works from command
line...

$ python
Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14)
on cygwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import psycopg2
>>>

Regards,
Anurag

On Sat, Jan 15, 2011 at 10:37 AM, Django <greg0...@yahoo.com> wrote:

> I am using Python27, Django and wanted to us Postgresql, but I am
> having problems.
>
> When I start a new project and run syncdb for the first time I get an
> error.
>
> \postgresql_psycopg2\base.py line24....................."Improperly
> Configured: Error loading psycopg2 module: no medule named psycopg2"
>
> I have loaded psycopg2 so I am lost.
>
> --
> 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
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
>http://groups.google.com/group/django-users?hl=en.
>
>

--
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
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 14th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support