安装时openstack ceiolometer引发未知错误

2024-06-01 11:14:58 发布

您现在位置:Python中文网/ 问答频道 /正文

我已经安装了预设置(setuptools,pbr和其他rpm),然后我运行以下命令来安装:

**sudo python设置.py安装

error in setup command: Error parsing /home/skumar/ceilometer/setup.cfg: OSError: [Errno 2] No such file or directory**

我搞不懂这个问题。在

我的设置.cfg文件是: https://github.com/openstack/ceilometer/blob/stable/icehouse/setup.cfg


Tags: inpy命令homesetupsudoerrorcfg
1条回答
网友
1楼 · 发布于 2024-06-01 11:14:58

在尝试安装一个新的python中子客户机时遇到了类似的问题。我对pbr一无所知,但显然它在使用它。我从here中发现需要安装git。一旦我安装了git并重新运行设置.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,然后重新运行设置.py安装成功。在

相关问题 更多 >