pip和conda的区别

时间:2025-04-28 09:58:57

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

不能创建虚拟环境,需要借助另外的包,例如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

参考

/understanding-conda-and-pip/
/questions/20994716/what-is-the-difference-between-pip-and-conda