[Zope-DB] Trying to install psycopg

Craig L. Ching cching@mqsoftware.com
Wed, 17 Oct 2001 13:26:47 -0500


Hi all,

Hopefully this isn't a FAQ, please point me in the right direction if it
is.  I'm not very familiar with Python, so please bear with me.  I've
installed psycopg from psycopg-0.99.7.tar.gz which I obtained from
http://initd.org/Software/psycopg.  The build went fine, but when I go
into the control panel in zope, I get a broken package.  Here's the
relevant output:

Traceback (most recent call last):
  File "/usr/share/zope/lib/python/OFS/Application.py", line 558, in
import_product
    product=3D__import__(pname, global_dict, global_dict, silly)
  File "/usr/share/zope/lib/python/Products/ZPsycopgDA/__init__.py",
line 92, in ?
    import DA
  File "/usr/share/zope/lib/python/Products/ZPsycopgDA/DA.py", line 91,
in ?
    from db import DB
  File "/usr/share/zope/lib/python/Products/ZPsycopgDA/db.py", line 98,
in ?
    import psycopg
AttributeError: 'DateTime' module has no attribute 'mxDateTimeAPI'

Seems DateTime module has no attribute mxDateTimeAPI.  Does anyone have
a clue what I've done wrong?  Here are some versions of software
installed:

Zope Version  (Zope 2.4.1 (source release, python 2.1, linux2), python
2.1.1, linux2) =20

Python Version  2.1.1 (#1, Aug 28 2001, 19:51:39) [GCC 2.96 20000731
(Red Hat Linux 7.1 2.96-85)] =20

System Platform  linux2

I also installed the mx from egenix from this:

egenix-mx-base-2.0.2-py2.1_1.i386.rpm

Any ideas?  Thanks in advance!

Cheers,
Craig
--
Craig L. Ching
Chief Product Architect
IBM Certified Specialist, MQSeries
IBM Certified Developer, MQSeries
MQSoftware, Inc.
(763) 546-9080
www.mqsoftware.com=20