python pip error pkg_resources.DistributionNotFound -


i'm trying install new module, found pip doesn't work - shows

pkg_resources.distributionnotfound: 'pip==1.5.6' distribution not found , required application 

for each call performed. also, pip --help. found advises reinstall pip using pip or easy_install, easy_install doesn't works too:

pkg_resources.distributionnotfound: 'setuptools==5.7' distribution not found , required application 

is there way fix issue without reinstalling python , modules?
have linux ubuntu 14.04.
apt-get install python-pip suggests installing pip (and heap of following software) don't have in system. afraid it, conflict here?

upd.
apt-get says want install following: build-essential dpkg-dev fakeroot g++ g++-4.8 libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libfakeroot libstdc++-4.8-dev python-chardet-whl python-colorama python-colorama-whl python-distlib python-distlib-whl python-html5lib python-html5lib-whl python-pip python-pip-whl python-requests-whl python-setuptools python-setuptools-whl python-six-whl python-urllib3-whl python-wheel. know pip worked me without these packages.
performed
which -a python: /usr/bin/python
which -a pip: /usr/local/bin/pip
python --version: python 2.7.6


Comments

Popular posts from this blog

java - Date formats difference between yyyy-MM-dd'T'HH:mm:ss and yyyy-MM-dd'T'HH:mm:ssXXX -

c# - Get rid of xmlns attribute when adding node to existing xml -