简体   繁体   English

Nova计算软件包安装期间发生错误

[英]Error during Nova compute package installation

Error in command: python setup.py install 命令错误:python setup.py install

I am not getting the error. 我没有得到错误。 Please help 请帮忙

This is the error 这是错误

>bash-4.2# python setup.py install
>ERROR:root:Error parsing
Traceback (most recent call last):
File "/sagar/nova/pbr-0.10.7-py2.7.egg/pbr/core.py", line 104, in pbr
attrs = util.cfg_to_args(path)
File "/sagar/nova/pbr-0.10.7-py2.7.egg/pbr/util.py", line 238, in cfg_to_args
>pbr.hooks.setup_hook(config)
File "/sagar/nova/pbr-0.10.7-py2.7.egg/pbr/hooks/__init__.py", line 27, in setup_hook
metadata_config.run()
File "/sagar/nova/pbr-0.10.7-py2.7.egg/pbr/hooks/base.py", line 29, in run
self.hook()
File "/sagar/nova/pbr-0.10.7-py2.7.egg/pbr/hooks/metadata.py", line 28, in hook
self.config['name'], self.config.get('version', None))
File "/sagar/nova/pbr-0.10.7-py2.7.egg/pbr/packaging.py", line 554, 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? error in setup command: 
Error parsing /sagar/nova/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?

I think you haven't added git in PATH variable. 我认为您尚未在PATH变量中添加git。 I was facing similar issue myself while installing nova on Hyper V. Just updating the PATH variable did the trick 在Hyper V上安装nova时,我自己也遇到了类似的问题。只更新PATH变量就可以了

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM