Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I can't get PostgreSQL to work

Status
Not open for further replies.

vasah20

Programmer
Feb 16, 2001
559
US
I can't get Import pg to work correctly.
I'm running python 2.1 on Linux-mandrake 8.0

bash> python
>>> import pg
Traceback (most recent call last):
File &quot;<stdin>&quot;, line 1, in ?
File &quot;/usr/local/lib/python2.1/pg.py&quot;, line 7, in ?
from _pg import *
ImportError: libpq.so.2: cannot load shared object file: No such file or directory
>>>

bash>find / -iname 'pg.py'
/usr/local/lib/python2.1/pg.py

TIA
leo


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top