Hi Team,
I am getting the below error while installing pip, I have changed the installation path before building the pip rpm package, I have checked 1.5.6 to 7.1.2 I am getting the same error in all packages, I have changed installation path in python and setuptools both are working fine . please help me to fix this issue.
==================================================================================================================
[root@test ~]# which python
/opt/python/x86_64/2.7.3/bin/python
[root@test ~]# python --version
Python 2.7.3
[root@test ~]# which easy_install
/opt/python-setuptools/noarch/0.6c11/bin/easy_install
[root@test ~]# which pip
/opt/pip/x86_64/7.0.0-1/bin/pip
[root@test ~]# pip --version
Traceback (most recent call last):
File "/opt/pip/x86_64/7.0.0-1/bin/pip", line 5, in <module>
from pkg_resources import load_entry_point
File "/opt/python-setuptools/noarch/0.6c11/lib/python2.7/site-packages/pkg_resources.py", line 2603, in <module>
working_set.require(__requires__)
File "/opt/python-setuptools/noarch/0.6c11/lib/python2.7/site-packages/pkg_resources.py", line 666, in require
needed = self.resolve(parse_requirements(requirements))
File "/opt/python-setuptools/noarch/0.6c11/lib/python2.7/site-packages/pkg_resources.py", line 565, in resolve
raise DistributionNotFound(req) # XXX put more info here
pkg_resources.DistributionNotFound: pip==7.0.0
[root@test ~]#
==================================================================================================================
Thanks in advance
regards
Anil