bootstrap fails with ImportError on Anaconda 2.0.0 on Windows
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Buildout |
New
|
Undecided
|
Unassigned |
Bug Description
Anaconda 2.0.0 installed in path on Windows 7. Default settings, except for download of mercurial and biopython.
>python bootstrap.py
Downloading https:/
....[stuff suppressed]..
ImportError: No module named email
>python
>>>import sys
>>>print sys.path
['', 'C:\Anacona\
...[much stuff in path suppressed]
Clearly the system libraries are getting removed from sys.path. If I comment out the following lines in bootstrap.py, then
bootstrap succeeds:
#if hasattr(site, 'getsitepackages'):
# for sitepackage_path in site.getsitepac
# sys.path[:] = [x for x in sys.path if sitepackage_path not in x]
I believe this behavior has changed recently, perhaps in going from Anaconda 1.9.1 to Anaconda 2.0.0. Anaconda 2.0.0 on Mac does not suffer from this problem.
I believe that bootstrap.py should not assume that the stuff in sys.path can be removed with impunity. If I bootstrap with the "--allow-
The required version of setuptools (>=4.0.1) is not available, and can't be installed while this script is running....
Setuptools 4.0.1 is not available in the Anaconda distribution for separate installation.