[ZODB-Dev] unable to import ZODB: class ConflictError, AttributeError

Ralf Hauenschild ralf_hauenschild at gmx.de
Wed Jun 13 16:57:47 UTC 2012


Hello guys,

i've been desperately trying to install ZODB3 via the following ways:
- easy_install ZODB3
- installation of Zope2
- manual installation of ZODB3, preceeded by installation of the 
requested packages from pypi

I'm using Ubuntu and Python 2.6.

Whe trying to import ZODB, I'm still getting the following error:


python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
 >>> import ZODB
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
   File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZODB/__init__.py", 
line 28, in <module>
     from DB import DB, connection
   File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZODB/DB.py", 
line 28, in <module>
     from ZODB.Connection import Connection
   File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZODB/Connection.py", 
line 33, in <module>
     from ZODB.blob import Blob, rename_or_copy_blob, remove_committed_dir
   File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZODB/blob.py", 
line 35, in <module>
     from ZODB.POSException import POSKeyError
   File 
"/usr/local/lib/python2.6/dist-packages/ZODB3-3.10.5-py2.6-linux-x86_64.egg/ZODB/POSException.py", 
line 71, in <module>
     class ConflictError(POSError, transaction.interfaces.TransientError):
AttributeError: 'module' object has no attribute 'TransientError'
 >>>


Can anybody help me, please?


More information about the ZODB-Dev mailing list