0

I am completely new to Ubuntu, am using version 16.04. I installed Python 2.7.13 using this link: How do I install the latest Python 2.7.X or 3.X on Ubuntu?

and then used this link to install PIP: https://www.rosehosting.com/blog/how-to-install-pip-on-ubuntu-16-04/

sudo apt-get install python-pip

but was given the following message:

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.

I double checked which Python version I have:

python -V

and I have python 2.7.13, so I don't understand how the dependencies aren't met.

Was Python already installed when I installed Ubuntu and somehow installing it again screwed me up?

0 Answers0