What is the advantage of Pip over Anaconda?

别等时光非礼了梦想. 提交于 2019-12-01 17:35:59

Based on my limited experience, I would guess that the main advantage of pip over conda is the ability to still install packages that are not available from conda or Anaconda.org.

https://conda.io/docs/using/pkgs.html#install-non-conda-packages - says basically the same.

I have been using conda for a while now, mostly studying Machine Learning and related subjects. I am a happy user 99.99% of the time. But when one faces challenges like building and installing tensorflow with GPU support for Mac that would support his or her rather specific/outdated GPU, one can't really rely on conda.

One huge advantage of pip is the built-in ability to install packages system-wide via f.ex.

sudo -H pip install ipython

It actually is smart enough to do this by default if run as the root user, installing to some directory in the global execution path. (/usr/local/bin?)

What can actually be considered an advantage for some things is that pip compiles packages (by default). So some packages like f.ex. which are actually optimized upon installation should not be installed via conda, or you are possibly missing out on this.

Finally, as mentioned, pip is directly linked to Python's package archive, whereas conda assumedly needs to be told when a new package was uploaded via a new configuation.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!