Eu sou completamente novo no Ubuntu, estou usando a versão 16.04. Eu instalei o Python 2.7.13 usando este link: Como instalo o mais recente Python 2.7.X ou 3.X no Ubuntu?
e depois use este link para instalar o PIP: link
sudo apt-get install python-pip
mas recebeu a seguinte mensagem:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help resolve the situation:
The following packages have unmet dependencies:
python-pip : Depends: python:any (< 2.8)
Depends: python:any (>= 2.7.5-5~)
Recommends: python-all-dev (>= 2.6) but it is not going to be installed
Recommends: python-setuptools but it is not going to be installed
Recommends: python-wheel but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Eu verifiquei novamente qual versão do Python eu tenho:
python -V
e eu tenho python 2.7.13, então eu não entendo como as dependências não são atendidas.
O Python já estava instalado quando eu instalei o Ubuntu e, de alguma forma, o instalando novamente me estragou?