bootstrap.py fails if buildout already installed in Python environment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GNU Mailman |
Invalid
|
Low
|
Unassigned |
Bug Description
If zc.buildout is already installed (say it was pip installed) in Python environment, the bootstrap.py script fails without reasonable explanation:
$ python bootstrap.py
Traceback (most recent call last):
File "bootstrap.py", line 255, in <module>
import zc.buildout.
ImportError: No module named zc.buildout.
This is confusing because you can see that zc.buildout.
$ 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.
>>>
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.
tags: | added: mailman3 |
Changed in mailman: | |
status: | New → Triaged |
importance: | Undecided → Low |
We're not using zc.buildout any more.