Hello,
Basically, pip is specialized for python packages/modules type of stuff. This is not for OS wide packages, only python specific packages. In general most OS packages on Raspbian you'll be installing with apt. But pip is also important for Python specific packages.
Here's a relevant thread:
https://askubuntu.com/questions/431780/ ... ip-install
I think you should probably uninstall one version before installing another version of the same package. Honestly not sure about if that would cause any error or not, here's just some general notes.
========
PyPI is the Python Package index — repository of python modules.
pip is used to download and install packages directly from PyPI. PyPI is hosted by Python Software Foundation. It is a specialized package manager that only deals with python packages.
apt-get is used to download and install packages from Ubuntu repositories which are hosted by Canonical.
=======
I'll add to this that "apt" is the Debian package management tool.
I would advise you to take a read of the man page and try some different commands, specifically you can use:
# pip show <package>
# apt show <package>
https://manpages.debian.org/stretch/apt/apt.8.en.html
https://manpages.debian.org/stretch/python-pip/pip.1
The above commands to inspect packages should give you more helpful information about the package version and source.
Hope this is helpful