easy_install 和 pip 的异同

2014-08-04 09:51:29 +08:00
 janxin
以前一直以为pip是替代easy_install的工具,easy_install能够实现的功能pip都能够实现。

但是今天安装一个包的时候发现pip没有找到这个包,easy_install却找到了,那么easy_install和pip的异同到底是什么呢?

(env)➜ ~ pip install frida
Downloading/unpacking frida
Could not find any downloads that satisfy the requirement frida
Cleaning up...
No distributions at all found for frida

(env)➜ ~ easy_install frida
Searching for frida
Reading https://pypi.python.org/simple/frida/
Best match: frida 1.6.2
5158 次点击
所在节点    Python
4 条回复
roricon
2014-08-04 09:57:35 +08:00
jprovim
2014-08-05 02:26:28 +08:00
小白問題,
pip找的是https://pypi.python.org/pypi/frida/1.6.2
easy_install找的是http://pypi.python.org/simple/frida/
janxin
2014-08-05 09:40:02 +08:00
@jprovim 这两个页面都是存在的,没有任何区别的吧
看一楼的链接,区别应该是在easy_install会安装编译好的文件,但是pip不会
leafgray
2014-08-09 20:37:52 +08:00
刚好看tesseract, pip install pillow 装的PIL 需要 from PIL import Image
而easy_install 的不需要
-
更重要的是pip 的出错了,目前还没搞明白。

同问,真的只有repo 的不同?

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/125979

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX