Reputation: 26
I have installed pre setting(setuptools, pbr and other rpm), and then I am running following cmd to install:
**sudo python setup.py install
error in setup command: Error parsing /home/skumar/ceilometer/setup.cfg: OSError: [Errno 2] No such file or directory**
I can't get the problem.
My setup.cfg file is: https://github.com/openstack/ceilometer/blob/stable/icehouse/setup.cfg
Upvotes: 1
Views: 401
Reputation: 46
Ran into a similar problem trying to install a new python-neutronclient. I didn't know anything about pbr, but apparently it uses it. I found from here that git needed to be installed. Once I installed git and re-ran setup.py install, it gave me a different error:
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?
I removed the unzipped directory, checked it out via git, installed python-dev, and re-ran the setup.py install with success.
Upvotes: 1