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

Paul Winkler slinkp at gmail.com
Thu Jun 14 15:14:04 UTC 2012


On Thu, Jun 14, 2012 at 12:04:30PM +0200, Martijn Pieters wrote:
> On Thu, Jun 14, 2012 at 11:38 AM, Ralf Hauenschild
> <ralf_hauenschild at gmx.de> wrote:
> > Thank you very much for your help! It finally worked!
> > I just deleted the package folders of "transaction" in the dist-packages
> > folder of Python. Then I reinstalled the latest version of transaction and
> > it was done :)
> > I can now successfully import ZODB.
> 
> You probably broke another software package on your system.
> 
> The dist-packages directory contains, at least on Debian systems (and
> Debian derivatives such as Ubuntu). You may want to repair that!
> 
> Instead, use a virtualenv *without* the --no-site-packages switch;
> this makes sure your environment does not try to import
> globally-installed packages.

That's backwards, I'm sure you just made a typo but I don't want Ralf
to get confused :)

virtualenv --no-site-packages means do NOT allow importing globally
installed packages.

virtualenv --system-site-packages means allow importing global packages.


-- 

Paul Winkler


More information about the ZODB-Dev mailing list