推荐学习书目
› 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
pc10201
V2EX  ›  Python

通过系统自带的 apt-get 和 python 的 pip 装 supervisor 有什么不同吗?

  •  
  •   pc10201 · Sep 30, 2015 · 4336 views
    This topic created in 4015 days ago, the information mentioned may be changed or developed.
    通过 debian 或 ubuntu 系统自带的 apt-get install supervisor 和 python 的 pip 装 supervisor 有什么不同吗?

    感觉上 ubuntu 自带的要老一些
    5 replies  •  2015-09-30 23:48:36 +08:00
    xmgit
        1
    xmgit  
       Sep 30, 2015
    pip 装不环保
    除非 --user 参数,并 export $HOME 下目录的环境变量
    julyclyde
        2
    julyclyde  
       Sep 30, 2015
    如果你调用 pip 用的 python 也是系统自带的,那就没啥差别
    zhsj
        3
    zhsj  
       Sep 30, 2015
    版本不同而已。
    debian/ubuntu 源里的版本会相对旧一点( debian 的版本冻结特性)
    pip 装的是最新版本(从 pypi 里直接下的)
    hsyu53
        4
    hsyu53  
       Sep 30, 2015 via Android
    用 apt-get 会自动设置开机启动脚本
    yangyuan
        5
    yangyuan  
       Sep 30, 2015
    一个是操作系统的包管理工具,一个是 PY 自己的包管理工具。
    个人意见呢,你在一个环境内部最好统一化。也就是要么全用 APT 装,要么全用 PIP 装。
    建议后者,因为很多软件都使用 steuptools 作为安装脚本,跟 PIP 是兼容的。
    但 PIP 装的时候,个别包的安装是需要翻*墙*的。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2879 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 38ms · UTC 13:38 · PVG 21:38 · LAX 06:38 · JFK 09:38
    ♥ Do have faith in what you're doing.