see https://gist.github.com/ryan-nauman/4c3af35fa9985857b8a5 and IRC logs in #openstack from 01-20-2014
07:10 ryannn: im on windows. i installed simplejson and then tried to use swiftclient from the github repo. tried using bin/swift but get "no module named pbr.version". also tried running setup.py install, but returned cannot import __version__ so i made a copy of /swiftclient/version.py* and named them __version__.py*. ran it again and i get "no module named pbr.version" again
07:11 notmyname: ryannn: you either need to use something like pip to install it (which will get the dependencies) or you need to run `python ./setup.py install` in the source directory that you got from github
07:14 ryannn: notmyname: thanks i will try again with pip
07:18 ryannn: notmyname: get errors with pip too :(
07:18 notmyname: same error?
07:20 ryannn: notmyname: seems like a pbr problem again but not as clear. https://gist.github.com/ryan-nauman/4c3af35fa9985857b8a5
07:22 notmyname: ryannn: try `pip install pbr` to get pbr. that should make it work. if it doesn't I'll point you to a different client (and try to go fix this one today)
07:23 ryannn: notmyname: same error when trying that
07:25 notmyname: ryannn: here's a different client https://github.com/gholt/swiftly/ (be sure to read the docs)
07:25 notmyname: mordred: ^^ pbr problems?
07:25 notmyname: mordred: see ryannn's issues above
07:29 ryannn: notmyname: great, thanks!
--------------------
Downloading/unpacking python-swiftclient
Getting page https://pypi.python.org/simple/python-swiftclient/
URLs to search for versions for python-swiftclient:
* https://pypi.python.org/simple/python-swiftclient/
Analyzing links from page https://pypi.python.org/simple/python-swiftclient/
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.0.tar.gz#md5=04d5ea95dccd52a4cea2220fb773d1e6 (from https://pypi.python.org/simple/python-swiftclient/), version: 1.0
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.1.1.tar.gz#md5=01a1f0d2581165502fcc903947e24190 (from https://pypi.python.org/simple/python-swiftclient/), version: 1.1.1
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.2.0.tar.gz#md5=07dd0b9e8f81a106031880e5e74879fd (from https://pypi.python.org/simple/python-swiftclient/), version: 1.2.0
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.3.0.tar.gz#md5=9fe507be9baec3e5987fdafa8f1b7c8c (from https://pypi.python.org/simple/python-swiftclient/), version: 1.3.0
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.4.0.tar.gz#md5=3767442551361cffdbb3681e401cea52 (from https://pypi.python.org/simple/python-swiftclient/), version: 1.4.0
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.5.0.tar.gz#md5=717ade4e91c0f5372f6fa6d545e7bab7 (from https://pypi.python.org/simple/python-swiftclient/), version: 1.5.0
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.6.0.tar.gz#md5=9713c1d1aa80e8052027c22fd40607ac (from https://pypi.python.org/simple/python-swiftclient/), version: 1.6.0
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.7.0.tar.gz#md5=6b31fa77d534d82a0053ed605dba01be (from https://pypi.python.org/simple/python-swiftclient/), version: 1.7.0
Found link https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.8.0.tar.gz#md5=1f7be5a72f3590d20cf2706d86486927 (from https://pypi.python.org/simple/python-swiftclient/), version: 1.8.0
Skipping link http://github.com/openstack/python-swiftclient (from https://pypi.python.org/simple/python-swiftclient/); not a file
Skipping link http://github.com/openstack/swift (from https://pypi.python.org/simple/python-swiftclient/); not a file
Skipping link http://wiki.openstack.org/HowToContribute (from https://pypi.python.org/simple/python-swiftclient/); not a file
Using version 1.8.0 (newest of versions: 1.8.0, 1.7.0, 1.6.0, 1.5.0, 1.4.0, 1.3.0, 1.2.0, 1.1.1, 1.0)
Downloading from URL https://pypi.python.org/packages/source/p/python-swiftclient/python-swiftclient-1.8.0.tar.gz#md5=1f7be5a72f3590d20cf2706d86486927 (from https://pypi.python.org/simple/python-swiftclient/)
Running setup.py (path:c:\users\ryan\appdata\local\temp\pip_build_Ryan\python-swiftclient\setup.py) egg_info for package python-swiftclient
Importing new compiler from distutils.msvc9compiler
Installed c:\users\ryan\appdata\local\temp\pip_build_ryan\python-swiftclient\pbr-0.5.23-py2.7.egg
Importing new compiler from distutils.msvc9compiler
running egg_info
creating pip-egg-info\python_swiftclient.egg-info
writing requirements to pip-egg-info\python_swiftclient.egg-info\requires.txt
writing pip-egg-info\python_swiftclient.egg-info\PKG-INFO
writing top-level names to pip-egg-info\python_swiftclient.egg-info\top_level.txt
writing dependency_links to pip-egg-info\python_swiftclient.egg-info\dependency_links.txt
[pbr] Processing SOURCES.txt
writing manifest file 'pip-egg-info\python_swiftclient.egg-info\SOURCES.txt'
warning: LocalManifestMaker: standard file '-c' not found
error: The system cannot find the file specified
Complete output from command python setup.py egg_info:
Importing new compiler from distutils.msvc9compiler
Installed c:\users\ryan\appdata\local\temp\pip_build_ryan\python-swiftclient\pbr-0.5.23-py2.7.egg
Importing new compiler from distutils.msvc9compiler
running egg_info
creating pip-egg-info\python_swiftclient.egg-info
writing requirements to pip-egg-info\python_swiftclient.egg-info\requires.txt
writing pip-egg-info\python_swiftclient.egg-info\PKG-INFO
writing top-level names to pip-egg-info\python_swiftclient.egg-info\top_level.txt
writing dependency_links to pip-egg-info\python_swiftclient.egg-info\dependency_links.txt
[pbr] Processing SOURCES.txt
writing manifest file 'pip-egg-info\python_swiftclient.egg-info\SOURCES.txt'
warning: LocalManifestMaker: standard file '-c' not found
error: The system cannot find the file specified
----------------------------------------
Cleaning up...
Removing temporary dir c:\users\ryan\appdata\local\temp\pip_build_Ryan...
Command python setup.py egg_info failed with error code 1 in c:\users\ryan\appdata\local\temp\pip_build_Ryan\python-swiftclient
Exception information:
Traceback (most recent call last):
File "c:\Python27\lib\site-packages\pip\basecommand.py", line 122, in main
status = self.run(options, args)
File "c:\Python27\lib\site-packages\pip\commands\install.py", line 270, in run
requirement_set.prepare_files(finder, force_root_egg_info=self.bundle, bundle=self.bundle)
File "c:\Python27\lib\site-packages\pip\req.py", line 1206, in prepare_files
req_to_install.run_egg_info()
File "c:\Python27\lib\site-packages\pip\req.py", line 312, in run_egg_info
command_desc='python setup.py egg_info')
File "c:\Python27\lib\site-packages\pip\util.py", line 696, in call_subprocess
% (command_desc, proc.returncode, cwd))
InstallationError: Command python setup.py egg_info failed with error code 1 in c:\users\ryan\appdata\local\temp\pip_build_Ryan\python-swiftclient
New versions of pbr and setuptools have been released since this bug was opened. I don't think anything was done specifically to address this issue, but I know some work was done in setuptools for the handling of installation tool requirements (things that aren't dependencies of the package at runtime, but are for installation, like pbr).
If the problem is still present, please reopen the bug.