bootstrap.py fails if there is a system-wide install of the desired buildout version
Bug #1029715 reported by
James Westby
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Hi,
bootstrap.py is very careful to avoid site.py, and carefully works around the fact that
distutils imports site.py.
However, it then calls out to setuptools/
distutils though, so site.py is imported anyway.
If distribute finds a system-wide install of the desired version it will consider the requirement
satisfied, but because bootstrap.py doesn't have site-packages on sys.path it won't find
it, and so will fail.
The workaround is to remove the system-wide install, or request a different version of
buildout to the one installed system-wide.
Thanks,
James
To post a comment you must log in.