How do I make sure packages installed using pip
don't install dependancies already installed using apt-get
?
For example, on Ubuntu you can install the package Numpy using apt-get install python-numpy
. Which gets installed to:
usr/local/lib/python2.7/dist-packages
I've noticed that when I install a package that requires numpy using pip
for example, pip install scipy
instead of skipping the numpy dependancy it installs again to a different location.
/usr/lib/python2.7/dist-packages
What pip should do is skip any python packages installed globally, right?