How can I make sure that packages installed with help pip
do not install dependencies already installed with help apt-get
?
For example, on Ubuntu you can install the Numpy package with apt-get install python-numpy
. Which is installed on:
usr/local/lib/python2.7/dist-packages
I noticed that when I install a package that requires numpy using pip
, for example, pip install scipy
instead of skipping the numpy dependency, it installs again in another place.
/usr/lib/python2.7/dist-packages
What needs to be done is to skip any python packages installed globally, right?
source
share