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_hauensch...@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
_______________________________________________
For more information about ZODB, see http://zodb.org/

ZODB-Dev mailing list  -  ZODB-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zodb-dev

Reply via email to