pip和conda有什么区别?

本文翻译自:What is the difference between pip and conda?

I know pip is a package manager for python packages. 我知道pip是python包的包管理器。 However, I saw the installation on IPython's website use conda to install IPython. 但是,我看到IPython网站上的安装使用conda来安装IPython。

Can I use pip to install IPython? 我可以使用pip来安装IPython吗? Why should I use conda as another python package manager when I already have pip ? 当我已经拥有pip时,为什么我应该使用conda作为另一个python包管理器?

What is the difference between pip and conda ? pipconda什么区别?


#1楼

参考:https://stackoom.com/question/1Q5gS/pip和conda有什么区别


#2楼

Quoting from the Conda blog : 引自Conda博客

Having been involved in the python world for so long, we are all aware of pip, easy_install, and virtualenv, but these tools did not meet all of our specific requirements. 我们长期参与python世界,我们都知道pip,easy_install和virtualenv,但这些工具并不能满足我们所有的特定要求。 The main problem is that they are focused around Python, neglecting non-Python library dependencies, such as HDF5, MKL, LLVM, etc., which do not have a setup.py in their source code and also do not install files into Python's site-packages directory. 主要问题是它们专注于Python,忽略了非Python库依赖项,如HDF5,MKL,LLVM等,它们的源代码中没有setup.py,也没有将文件安装到Python的站点中-packages目录。

So Conda is a packaging tool and installer that aims to do more than what pip does; 所以Conda是一个打包工具和安装程序,旨在做的不仅仅是pip做的事情; handle library dependencies outside of the Python packages as well as the Python packages themselves. 处理Python包之外的库依赖项以及Python包本身。 Conda also creates a virtual environment, like virtualenv does. Conda还创建了一个虚拟环境,就像virtualenv一样。

As such, Conda should be compared to Buildout perhaps, another tool that lets you handle both Python and

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值