I'm wondering what the difference is between pip, the Python package installer, and yum?
As a means of providing some context to my question:
I assume the first answer will be because PIP is only for installing Python packages and yum installs packages from different types of vendors. But lets focus on the installation of Python packages using both tools as a means of identifying the difference between both:
I had an issue in work (using CentOS6) where Django was a missing dependency for an rpm I was trying to install. I thought the correct fix was to 'pip install Django'. However, when I did this and re-tried the 'rpm -i' the Django dependency was still reported as missing.
A far more experienced colleague told me what I was doing was wrong and I needed to un-install this and only ever install using yum. From experience I know he is not one to elaborate on things and after a bit of googling I am still in the dark.
I can't get my head around why there is a difference, if both install the same package how come one works as a means of satisfying the required dependency and the other (pip) does not.
pip -V
return and is it thepip
you've installed withyum
? Most probably you have multiple Python installations, causing the ambiguity.