Thread: regd installing win-psycopg
Dear Sir,
I have copied folder psycopg2 into C:\Program Files (x86)\Plone\zope2\lib\python\Products
Than restart the zope
but could'nt find add postgres databse connection in zope/plone
Thanks in advance
Regards
Alka
I am not a Plone user, so take my suggestions with a grain of salt. The psycopg2 packages I provide do not have any Plone packages with them. I think you need te ZPsycopgDA package, too. It is a directory in the source files, http://www.psycopg.org/psycopg/tarballs/PSYCOPG-2-4/psycopg2-2.4.tar.gz, and should be copied to your Products directory. -jason On Tue, 8 Mar 2011, alka sharma wrote: > Dear Sir, > > I have copied folder psycopg2 into C:\Program Files > (x86)\Plone\zope2\lib\python\Products > Than restart the zope > but could'nt find add postgres databse connection in zope/plone > > Thanks in advance > > > Regards > Alka >
Hi, psycopg2 is a python binding for postgres, not a ZOPE product. Therefore the subpackage ZPsycopgDA is necessary. It is included in the psycopg2 source package. The best way to install is to add psycopg2 as egg to your buildout and copy ZPsycopgDA to your Products folder. On this side I want to remind on #29 that would make it easy to install psycopg2 and ZPsycopgDA in a Plone buildout. By the way, Plone/zope2/lib/python/Products folder was never a good place to add Add'ons. Neighter in buildout based installs nor in old fashined zope installs. Regards Pumukel > Dear Sir, > > I have copied folder psycopg2 into C:\Program Files > (x86)\Plone\zope2\lib\python\Products > Than restart the zope > but could'nt find add postgres databse connection in zope/plone > > Thanks in advance > > > Regards > Alka >
Thanks to all of you.
At last i have installed it.
Thanks a lot.
Regards
Alka
On Wed, Mar 9, 2011 at 12:17 PM, Alexander Loechel <Alexander.Loechel@unibw.de> wrote:
Hi,
psycopg2 is a python binding for postgres, not a ZOPE product. Therefore
the subpackage ZPsycopgDA is necessary. It is included in the psycopg2
source package.
The best way to install is to add psycopg2 as egg to your buildout
and copy ZPsycopgDA to your Products folder.
On this side I want to remind on #29 that would make it easy to install
psycopg2 and ZPsycopgDA in a Plone buildout.
By the way, Plone/zope2/lib/python/Products folder was never a good place
to add Add'ons. Neighter in buildout based installs nor in old fashined
zope installs.
Regards
Pumukel> Dear Sir,
>
> I have copied folder psycopg2 into C:\Program Files
> (x86)\Plone\zope2\lib\python\Products
> Than restart the zope
> but could'nt find add postgres databse connection in zope/plone
>
> Thanks in advance
>
>
> Regards
> Alka
>