Re: on to communications
"Derek Neighbors" <[email protected]>
| Newsgroups | gmane.comp.gnu.enterprise.general |
|---|---|
| Message-ID | <[email protected]> |
It has been for ever since I used Red Hat try... rpm -qa |grep -i postgres If that returns some postgres packages its a start and it means the command works... then try rpm -qa |grep -i pysco If that turns up a blank you need to install the pyscopg packages for your distribution... I am not sure if rpm's exist. If not I would try another python-postgres driver as we support half a dozen of them (or so it feels like)... -Derek Reinhard Mueller said: > Am Don, den 10.06.2004 schrieb Craig White um 20:52: >> # locate psycopg >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg/Info.pyc >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg/__init__.py >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg/Driver.pyc >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg/__init__.pyc >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg/Driver.py >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg/Info.py >> /usr/local/gnue/lib/python/gnue/common/datasources/drivers/postgresql/psycopg >> >> what do I have to do to make gnue find it? > > That's not what GNUe is looking for. > > There is a python module called "psycopg" that provides python access to > PostgreSQL databases. > > And there is a GNUe database driver that *uses* psycopg to connect > forms/reports/whatever to the database. We call it the psycopg db > driver. Naturally, our (GNUe's) psycopg driver depends on the psycopg > module. > > What you list above is the driver. What you are looking for is the > module. > > There should be a package named "psycopg" or "python-psycopg" available > for Fedora. You have to install that. > > Thanks, > > -- > Reinhard Mueller > GNU Enterprise project > http://www.gnue.org > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > No army can stop an idea whose time has come. > -- Victor Hugo, 1802-1885