Error when installing Swift all in one in virtual machine-fedora

asked 2013-09-18 20:24:41 -0600

nbanda3 gravatar image

when i run the command, iam getting the error. Please help

TypeError: dist must be a Distribution instance

[swiftdemo@localhost ~]$ git clone https://github.com/openstack/swift.git Cloning into swift... remote: Counting objects: 23571, done. remote: Compressing objects: 100% (8103/8103), done. remote: Total 23571 (delta 17616), reused 20731 (delta 15196) Receiving objects: 100% (23571/23571), 11.69 MiB | 2.53 MiB/s, done. Resolving deltas: 100% (17616/17616), done. [swiftdemo@localhost ~]$ cd ~/swift; [swiftdemo@localhost swift]$ sudo python setup.py develop running develop running egg_info creating swift.egg-info writing requirements to swift.egg-info/requires.txt writing swift.egg-info/PKG-INFO writing top-level names to swift.egg-info/top_level.txt writing dependency_links to swift.egg-info/dependency_links.txt writing entry points to swift.egg-info/entry_points.txt [pbr] Processing SOURCES.txt writing manifest file 'swift.egg-info/SOURCES.txt' [pbr] In git context, generating filelist from git warning: no files found matching 'ChangeLog' warning: no previously-included files matching '*.pyc' found anywhere in distribution reading manifest template 'MANIFEST.in' writing manifest file 'swift.egg-info/SOURCES.txt' running build_ext Creating /usr/lib/python2.7/site-packages/swift.egg-link (link to .) Adding swift 1.9.2.154.ga9af8dd to easy-install.pth file Installing swift-account-audit script to /usr/bin Installing swift-account-auditor script to /usr/bin Installing swift-account-reaper script to /usr/bin Installing swift-account-replicator script to /usr/bin Installing swift-account-server script to /usr/bin Installing swift-bench script to /usr/bin Installing swift-bench-client script to /usr/bin Installing swift-config script to /usr/bin Installing swift-container-auditor script to /usr/bin Installing swift-container-replicator script to /usr/bin Installing swift-container-server script to /usr/bin Installing swift-container-sync script to /usr/bin Installing swift-container-updater script to /usr/bin Installing swift-dispersion-populate script to /usr/bin Installing swift-dispersion-report script to /usr/bin Installing swift-drive-audit script to /usr/bin Installing swift-form-signature script to /usr/bin Installing swift-get-nodes script to /usr/bin Installing swift-init script to /usr/bin Installing swift-object-auditor script to /usr/bin Installing swift-object-expirer script to /usr/bin Installing swift-object-info script to /usr/bin Installing swift-object-replicator script to /usr/bin Installing swift-object-server script to /usr/bin Installing swift-object-updater script to /usr/bin Installing swift-oldies script to /usr/bin Installing swift-orphans script to /usr/bin Installing swift-proxy-server script to /usr/bin Installing swift-recon script to /usr/bin Installing swift-recon-cron script to /usr/bin Installing swift-ring-builder script to /usr/bin Installing swift-temp-url script to /usr/bin

Installed /home/swiftdemo/swift Processing dependencies for swift==1.9.2.154.ga9af8dd Searching for xattr>=0.4 Reading http://pypi.python.org/simple/xattr/ Best match: xattr 0.7.2 Downloading https://pypi.python.org/packages/source/x/xattr/xattr-0.7.2.tar.gz#md5=7a57fb9b6cb8bb4cbe28cdf500b86c8e (https://pypi.python.org/packages/sour...) Processing xattr-0.7.2.tar.gz Running xattr-0.7.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-AOg_8C/xattr-0.7.2/egg-dist-tmp-ASg7sJ /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'entry_points' warnings.warn(msg) /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'zip_safe' warnings.warn(msg) /usr/lib64/python2.7/distutils/dist.py:267 ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-23 18:50:02 -0600

nbanda3 gravatar image

pip install "xattr==0.4"

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-18 20:24:41 -0600

Seen: 136 times

Last updated: Sep 23 '13