pip和conda的区别

1.pip只能安装python包,而conda可以安装由任何语言编写的包

2.pip不能创建虚拟环境,需要借助另外的包,例如virtualenv,而conda可以创建虚拟环境。

3.pip是按照python时自带的,而conda需要安装anaconda才能用。

Comparison of conda and pip

conda pip
manages binaries wheel or source
can require compilers no yes
package types any Python-only
create environment yes, built-in no, requires virtualenv or venv
dependency checks yes no
package sources Anaconda repo and cloud PyPI

参考

https://www.anaconda.com/understanding-conda-and-pip/
https://stackoverflow.com/questions/20994716/what-is-the-difference-between-pip-and-conda

你可能感兴趣的:(Python)