推荐学习书目
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 · Nov 22, 2011 · 5883 views
  •   You need to sign in to view this topic
    This topic created in 5409 days ago, the information mentioned may be changed or developed.
    有点crazy了。。。

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

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

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

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

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

    这究竟是个神马情况?

    请问他们的区别?
    4 replies    1970-01-01 08:00:00 +08:00
    Livid
        1
    Livid  
    MOD
    PRO
       Nov 22, 2011
    python setup.py install 就像你下载了一个 .tar.gz 然后解压然后 make; make install

    pip 和 easy_install 是两个不同的包管理工具,帮你自动化下载解压编译安装,pip 更新一些,所以功能比 easy_install 更强。
    kojp
        2
    kojp  
    OP
       Nov 22, 2011
    @Livid
    谢谢。。至少知道easy_install 和 pip 的关系了。
    dreampuf
        3
    dreampuf  
       Nov 22, 2011
    推荐pip
    gavingeng
        4
    gavingeng  
       Nov 23, 2011
    刚开始学python,就知道easy_install,pip得装上用用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   5550 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 234ms · UTC 08:50 · PVG 16:50 · LAX 01:50 · JFK 04:50
    ♥ Do have faith in what you're doing.