Update patch set 2

Patch Set 2:

(1 comment)

Patch-set: 2
Reviewer: Gerrit User 6671 <6671@4a232e18-c5a9-48ee-94c0-e04e7cca6543>
Label: Verified=0
This commit is contained in:
Gerrit User 6671 2015-04-20 02:51:24 +00:00 committed by Gerrit Code Review
parent a52a5225b9
commit 7a9a3e6ad2
1 changed files with 18 additions and 0 deletions

View File

@ -16,6 +16,24 @@
"revId": "7b419b5621ea1b12f8c28d387f1a15217256cf70",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543",
"unresolved": false
},
{
"key": {
"uuid": "dac4157f_5b9f8e5f",
"filename": "install/roles/compass/tasks/RedHat.yml",
"patchSetId": 2
},
"lineNbr": 102,
"author": {
"id": 6671
},
"writtenOn": "2015-04-20T02:51:24Z",
"side": 1,
"message": "http://stackoverflow.com/questions/11425106/python-pip-install-fails-invalid-command-egg-info\n\nquoted from the answer above:\n\nyum -y install python-pip\npip install -U pip\npip install -U setuptools\npip install -U setuptools\n\nYou are not seeing double, you must run the setuptools upgrade twice. The long answer is below:\n\nInstalling the python-pip package using yum brings python-setuptools along as a dependency. It\u0027s a pretty old version and hence it\u0027s actually installing distribute (0.6.10). After installing a package manager we generally want to update it, so we do pip install -U pip. Current version of pip for me is 1.5.6.\n\nNow we go to update setuptools and this version of pip is smart enough to know it should remove the old version of distribute first. It does this, but then instead of installing the latest version of setuptools it installs setuptools (0.6c11).\n\nAt this point all kinds of things are broken due to this extremely old version of setuptools, but we\u0027re actually halfway there. If we now run the exact same command a second time, pip install -U setuptools, the old version of setuptools is removed, and version 5.5.1 is installed. I don\u0027t know why pip doesn\u0027t take us straight to the new version in one shot, but this is what\u0027s happening and hopefully it will help others to see this and know you\u0027re not going crazy.",
"parentUuid": "dac4157f_ffb9b7ed",
"revId": "7b419b5621ea1b12f8c28d387f1a15217256cf70",
"serverId": "4a232e18-c5a9-48ee-94c0-e04e7cca6543",
"unresolved": false
}
]
}