[Bug 869342] [NEW] bootstrap.py fails if buildout already installed in Python environment

Stephen A. Goss steveth45 at gmail.com
Thu Oct 6 19:10:26 CEST 2011

Public bug reported:

If zc.buildout is already installed (say it was pip installed) in Python
environment, the bootstrap.py script fails without reasonable

    $ python bootstrap.py
    Traceback (most recent call last):
      File "bootstrap.py", line 255, in <module>
        import zc.buildout.buildout
    ImportError: No module named zc.buildout.buildout

This is confusing because you can see that zc.buildout.buildout is

    $ python
    Python 2.6.5 (r265:79063, Jun 25 2011, 08:36:25) 
    [GCC 4.4.4 20100726 (Red Hat 4.4.4-13)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.
    >>> import zc.buildout.buildout

It turns out that if zc.buildout is already available, bootstrap.py does
not need to be run, but that is less than obvious to someone who is not
intimately familiar with buildout.

** Affects: mailman
     Importance: Undecided
         Status: New

** Tags: mailman3

** Tags added: mailman3

You received this bug notification because you are a member of Mailman
Coders, which is subscribed to GNU Mailman.

  bootstrap.py fails if buildout already installed in Python environment

To manage notifications about this bug go to:

More information about the Mailman-coders mailing list