Revision history [back]

click to hide/show revision 1
initial version

This looks like a standard run of the mill install error. The following normally works:

cd ~/swift/  # /root/swift seems to be the current install location according to your traceback
pip install --upgrade distribute  # or maybe setuptools
pip install -U -r requirements.txt
python setup.py develop

If you're still having problems it may be something with how pkg_resources is exposing the entry_points from swift to paste - weird stuff been goin' on since distribute took over and setuptools started up versionin' again...

(e.g.https://bitbucket.org/pypa/setuptools/issue/73/typeerror-dist-must-be-a-distribution)

What does the following print your your system:

cd ~; python -c 'import pkg_resources, pprint; pprint.pprint(pkg_resources.get_entry_map(pkg_resources.get_distribution("swift")))'

Here's mine:

http://paste.openstack.org/show/47137/