Python openstack ceiolometer在安装时抛出未知错误
我已经安装了预设置(setuptools、pbr和其他rpm),然后我运行以下命令来安装: **sudo python setup.py安装 setup命令中出错:错误解析/home/skumar/ceilometer/setup.cfg:OSError:[Errno 2]没有这样的文件或目录** 我不明白这个问题 我的setup.cfg文件是:Python openstack ceiolometer在安装时抛出未知错误,python,swift,openstack,Python,Swift,Openstack,我已经安装了预设置(setuptools、pbr和其他rpm),然后我运行以下命令来安装: **sudo python setup.py安装 setup命令中出错:错误解析/home/skumar/ceilometer/setup.cfg:OSError:[Errno 2]没有这样的文件或目录** 我不明白这个问题 我的setup.cfg文件是: 在尝试安装新的python NeutonClient时遇到了类似的问题。我对pbr一无所知,但很明显它使用它。我发现需要安装git。安装git并重新运
在尝试安装新的python NeutonClient时遇到了类似的问题。我对pbr一无所知,但很明显它使用它。我发现需要安装git。安装git并重新运行setup.py安装后,它给了我一个不同的错误:
error in setup command: Error parsing /tmp/python-neutronclient-contrail-icehouse/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?
我删除了解压后的目录,通过git将其签出,安装了python dev,并成功地重新运行了setup.py安装。我认为您需要a)将命令和错误格式化为“Code”,b)显示其余的错误消息!谢谢Steve,我已经准备好了。这是唯一显示的错误。根据我的经验,python错误更长,并且会提供一个跟踪,包括丢失文件的名称等内容。您还需要提到您正在尝试使用的python、ceiolometer等的确切版本。顺便说一句,你的标题是误导性的错误是已知的“没有这样的文件或目录”这与Swift有什么关系?