Skip to content

Instantly share code, notes, and snippets.

@justizin
Created August 6, 2014 17:47
Show Gist options
  • Save justizin/f6d49211d18dc6300913 to your computer and use it in GitHub Desktop.
Save justizin/f6d49211d18dc6300913 to your computer and use it in GitHub Desktop.
[P] [hm@andredb03 dist-packages]$ python
Python 2.7.3 (default, Feb 27 2014, 19:58:35)
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import keystoneclient
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "keystoneclient/__init__.py", line 37, in <module>
__version__ = pbr.version.VersionInfo('python-keystoneclient').version_string()
File "pbr/version.py", line 78, in version_string
for part in self.release_string().split('.'):
File "pbr/version.py", line 70, in release_string
self.release = self._get_version_from_pkg_resources()
File "pbr/version.py", line 62, in _get_version_from_pkg_resources
return packaging.get_version(self.package)
File "pbr/packaging.py", line 870, in get_version
raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment