Custom Search

Saturday, March 11, 2017

python error in setup command: Error parsing setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?

Fix
=======
Got to project folder and run git init
$ cd project_dir
$ git init
$ python setup.py install

Error
=======
error in setup command: Error parsing /build/pkgbuild/setup.cfg: Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository. Are you sure that git is installed?

dh_auto_install: python setup.py install --force --root=/build/pkgbuild/debian/python-neutron --no-compile -O0 --install-layout=deb returned exit code 1

make: *** [binary] Error 1

No comments:

Post a Comment