Upgrade setuptools doesn't seem to resolve the problem in me environment. I got the following error. Even I manually install pip 1.4.1, it is uninstalled by devstack and 1.5.6 is put on.
+ install_get_pip
+ [[ ! -r /home/varmour/workspace/devstack/files/get-pip.py ]]
+ sudo -E python /home/varmour/workspace/devstack/files/get-pip.py
/usr/lib/python2.7/dist-packages/setuptools/command/install_scripts.py:3: UserWarning: Module pip was already imported from /tmp/tmpXQI4XG/pip.zip/pip/__init__.py, but /usr/local/lib/python2.7/dist-packages/pip-1.4.1-py2.7.egg is being added to sys.path
from pkg_resources import Distribution, PathMetadata, ensure_directory
Downloading/unpacking pip from https://pypi.python.org/packages/py2.py3/p/pip/pip-1.5.6-py2.py3-none-any.whl#md5=4d4fb4b69df6731c7aeaadd6300bc1f2
Installing collected packages: pip
Found existing installation: pip 1.4.1
Uninstalling pip:
Successfully uninstalled pip
Successfully installed pip
Cleaning up...
+ get_versions
++ which pip
+ PIP=/usr/local/bin/pip
+ [[ -n /usr/local/bin/pip ]]
++ /usr/local/bin/pip --version
++ awk '{ print $2}'
Traceback (most recent call last):
File "/usr/local/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2707, in <module>
working_set.require(__requires__)
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 686, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pip==1.4.1
+ PIP_VERSION=
+ echo 'pip: '
pip:
Upgrade setuptools doesn't seem to resolve the problem in me environment. I got the following error. Even I manually install pip 1.4.1, it is uninstalled by devstack and 1.5.6 is put on.
+ install_get_pip workspace/ devstack/ files/get- pip.py ]] workspace/ devstack/ files/get- pip.py python2. 7/dist- packages/ setuptools/ command/ install_ scripts. py:3: UserWarning: Module pip was already imported from /tmp/tmpXQI4XG/ pip.zip/ pip/__init_ _.py, but /usr/local/ lib/python2. 7/dist- packages/ pip-1.4. 1-py2.7. egg is being added to sys.path unpacking pip from https:/ /pypi.python. org/packages/ py2.py3/ p/pip/pip- 1.5.6-py2. py3-none- any.whl# md5=4d4fb4b69df 6731c7aeaadd630 0bc1f2 local/bin/ pip bin/pip" , line 5, in <module> python2. 7/dist- packages/ pkg_resources. py", line 2707, in <module> set.require( __requires_ _) python2. 7/dist- packages/ pkg_resources. py", line 686, in require parse_requireme nts(requirement s)) python2. 7/dist- packages/ pkg_resources. py", line 584, in resolve Found(req) DistributionNot Found: pip==1.4.1
+ [[ ! -r /home/varmour/
+ sudo -E python /home/varmour/
/usr/lib/
from pkg_resources import Distribution, PathMetadata, ensure_directory
Downloading/
Installing collected packages: pip
Found existing installation: pip 1.4.1
Uninstalling pip:
Successfully uninstalled pip
Successfully installed pip
Cleaning up...
+ get_versions
++ which pip
+ PIP=/usr/
+ [[ -n /usr/local/bin/pip ]]
++ /usr/local/bin/pip --version
++ awk '{ print $2}'
Traceback (most recent call last):
File "/usr/local/
from pkg_resources import load_entry_point
File "/usr/lib/
working_
File "/usr/lib/
needed = self.resolve(
File "/usr/lib/
raise DistributionNot
pkg_resources.
+ PIP_VERSION=
+ echo 'pip: '
pip: