推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
janxin
V2EX  ›  Python

easy_install 和 pip 的异同

  •  
  •   janxin · Aug 4, 2014 · 6158 views
    This topic created in 4442 days ago, the information mentioned may be changed or developed.
    以前一直以为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
    4 replies  •  2014-08-09 20:37:52 +08:00
    jprovim
        2
    jprovim  
       Aug 5, 2014
    小白問題,
    pip找的是https://pypi.python.org/pypi/frida/1.6.2
    easy_install找的是http://pypi.python.org/simple/frida/
    janxin
        3
    janxin  
    OP
       Aug 5, 2014
    @jprovim 这两个页面都是存在的,没有任何区别的吧
    看一楼的链接,区别应该是在easy_install会安装编译好的文件,但是pip不会
    leafgray
        4
    leafgray  
       Aug 9, 2014
    刚好看tesseract, pip install pillow 装的PIL 需要 from PIL import Image
    而easy_install 的不需要
    -
    更重要的是pip 的出错了,目前还没搞明白。

    同问,真的只有repo 的不同?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2294 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 09:44 · PVG 17:44 · LAX 02:44 · JFK 05:44
    ♥ Do have faith in what you're doing.