Thanks Riccardo! That solved the issue.

I did set up another environment to use github version and I faced some
issues and now I am stuck in this one:

Downloading
https://pypi.python.org/packages/4f/4d/3ff83bcf4f93c9b70f5653c52e030701e2e9964735c2aec04f76957e7a60/oslo.i18n-3.9.0.tar.gz#md5=3c15e5778ed25103b08b8682bdb99bb5
Best match: oslo.i18n 3.9.0
Processing oslo.i18n-3.9.0.tar.gz
Writing /tmp/easy_install-hpVSVW/oslo.i18n-3.9.0/setup.cfg
Running oslo.i18n-3.9.0/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-hpVSVW/oslo.i18n-3.9.0/egg-dist-tmp-TV3JAO
ERROR:root:Error parsing
Traceback (most recent call last):
  File
"/var/ec-tools/elasticluster/lib/python2.7/site-packages/pbr-1.10.0-py2.7.egg/pbr/core.py",
line 111, in pbr
    attrs = util.cfg_to_args(path, dist.script_args)
  File
"/var/ec-tools/elasticluster/lib/python2.7/site-packages/pbr-1.10.0-py2.7.egg/pbr/util.py",
line 248, in cfg_to_args
    kwargs = setup_cfg_to_setup_kwargs(config, script_args)
  File
"/var/ec-tools/elasticluster/lib/python2.7/site-packages/pbr-1.10.0-py2.7.egg/pbr/util.py",
line 382, in setup_cfg_to_setup_kwargs
    cmd = cls(dist)
  File
"/var/ec-tools/elasticluster/lib/python2.7/site-packages/setuptools/__init__.py",
line 137, in __init__
    _Command.__init__(self, dist)
  File "/usr/lib64/python2.7/distutils/cmd.py", line 59, in __init__
    raise TypeError, "dist must be a Distribution instance"
TypeError: dist must be a Distribution instance
error: Setup script exited with error in setup command: Error parsing
/tmp/easy_install-hpVSVW/oslo.i18n-3.9.0/setup.cfg: TypeError: dist must be
a Distribution instance

Looks like something related to setuptools... Thoughts?

Thanks!
Glaucimar Aguiar



On Fri, Aug 26, 2016 at 11:53 AM, Riccardo Murri <[email protected]>
wrote:

> Dear Glaucimar,
>
> (Glaucimar Aguiar, Fri, Aug 26, 2016 at 06:21:24AM -0700:)
> > I am facing this error:
> >
> > [...]
> >     build/temp.linux-x86_64-2.7/_openssl.c:2:20: fatal error: Python.h:
> No such file or directory
> > [...]
> > This is not in the troubleshooting section and I did install both
> > openssl-devel and libffi-devel.
> >
> > I am running Red Hat Enterprise Linux Server release 7.2 (Maipo)
>
> Apparently you need to install package `python-devel` as well.
>
> It's now needed to install the `cryptography` package that `paramiko`
> depends upon.  I'll update the troubleshooting and installation
> instructions; thanks for reporting!
>
> BTW, may I suggest that you install the development version (from GitHub
> "master" branch) instead of the one on PyPI?  The PyPI code is now very
> old and outdated (especially the playbooks).
>
> Ciao,
> R
>
> --
> Riccardo Murri, Schwerzenbacherstrasse 2, CH-8606 Nänikon, Switzerland
>

-- 
You received this message because you are subscribed to the Google Groups 
"elasticluster" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to