New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem installing from GitHub owing to old setuptools on CentOS #227
Comments
What branch are you installing from? |
This is with master, which I believe is supposed to be the more stable branch with the way you're managing things now? |
I cannot reproduce the issue;
No problem is detected by the CI server, either: https://travis-ci.org/gc3-uzh-ch/elasticluster/jobs/103839621 Is it possible that your Git checkout is not up-to-date or that you |
Well, I would say that the procedure you've followed there is rather different than what's in the documentation. |
How is it different? The docs tell you to:
The only differences I can see is that I used |
Just tried it again, on a CentOS 7.2 VM:
|
Anyway, just to be sure, here are the steps exactly as written in the
|
Could be a version problem? Here's what I have:
|
Okay, it's the specification of the ansible that's the problem. If I change it to:
for example, it works. |
You mean What version of Python's |
Yes.
|
I've submitted a PR that should fix this. You may wish to fine-tune the version specification. |
Does it work if you replace the version specification with the following?
|
No - the error reappears. |
So the issue is that |
So I guess I'll do the following:
Does this sound reasonable? |
Yes, that makes sense. |
Using
inside the virtualenv works, so that could be added to the instructions, specifically for CentOS. |
Can you please try installing branch hotfix/ensure-recent-setuptools with the vanilla instructions? (i.e., no Does it work? |
Yes, that works. It installs correctly and I can list my existing cluster. |
Thanks, then I'll use that variant for the development branch |
I'm trying to install from GitHub, as usual. I did notice a recent commit stating that the Ansible requirement would remain at 1.9.x for now, but
pip install ansible
of course installed 2.0.0.2.Inside the virtualenv, I ran
python setup.py install
and saw the following error:The text was updated successfully, but these errors were encountered: