V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
推荐学习书目
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
kojp
V2EX  ›  Python

python 各种install

  •  
  •   kojp · 2011-11-22 23:32:01 +08:00 · 4731 次点击
    这是一个创建于 4509 天前的主题,其中的信息可能已经有所发展或是发生改变。
    有点crazy了。。。

    安三个包,我用了以下这么多种方法。

    cd aa
    python setup.py install
    ----------------------------
    pip install aa

    ----------------------------
    python aa_setup.py

    ---------------------------

    还有个easyinstall 今天没用上~~~(以前貌似用过)

    这究竟是个神马情况?

    请问他们的区别?
    4 条回复    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
       2011-11-22 23:36:18 +08:00
    python setup.py install 就像你下载了一个 .tar.gz 然后解压然后 make; make install

    pip 和 easy_install 是两个不同的包管理工具,帮你自动化下载解压编译安装,pip 更新一些,所以功能比 easy_install 更强。
    kojp
        2
    kojp  
    OP
       2011-11-22 23:43:41 +08:00
    @Livid
    谢谢。。至少知道easy_install 和 pip 的关系了。
    dreampuf
        3
    dreampuf  
       2011-11-22 23:50:07 +08:00
    推荐pip
    gavingeng
        4
    gavingeng  
       2011-11-23 09:29:58 +08:00
    刚开始学python,就知道easy_install,pip得装上用用
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   2918 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 15:10 · PVG 23:10 · LAX 08:10 · JFK 11:10
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.