I have a reasonable understanding of the difference between conda install
& pip install
; How pip
installs python only packages & conda
can install non-python binaries. However, there is some overlap between these two. Which leads me to ask:
What's the rule of thumb for whether to use conda
or pip
when both offer a package?
For example, TensorFlow
is available on both repositories but from the tensorflow docs:
within Anaconda, we recommend installing TensorFlow with the
pip install
command, not with theconda install
command.
But, there are many other packages that overlap, like numpy
, scipy
etc.
However, this Stackoverflow answer suggests that conda install
should be the default & pip
should only be used if a package is unavailable from conda
. Is this true even for TensorFlow
or other python-only packages?