推荐学习书目
› 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
Livid
403.83D
551.32D
V2EX  ›  Python

在 Ubuntu 中通过 pip 安装 PIL

  •  
  •   Livid ·
    PRO
    · Aug 30, 2013 · 7735 views
    This topic created in 4818 days ago, the information mentioned may be changed or developed.
    6 replies  •  1970-01-01 08:00:00 +08:00
    est
    est
    Aug 30, 2013
    1
    sudo pip install Pillow
    ericFork
    ericFork
    Aug 30, 2013
    2
    pillow 和 PIL 并不完全兼容,使用时小心点儿~
    aggron
    aggron
    Aug 30, 2013
    3
    PIL已经4年没更新了吧, 推荐用pillow, 而且pillow已经支持python3了
    mengzhuo
    mengzhuo
    Aug 30, 2013
    4
    编译jpeg和zlib都是坑啊!
    严重影响自动化部署
    alswl
    alswl
    Aug 30, 2013
    5
    使用 Pillow,然后记得预先编译好 libjpeg / libweb 之类的,
    其实 Pillow 也有坑。
    Python 的部署向来头疼,Java 在这方面,不分青红皂白打成一个包,部署还是挺方便的。
    dreampuf
    dreampuf
    Aug 30, 2013
    6
    pillow +1

    对于需要编译lib的库,只要目标环境一致,还是很好处理。
    Java 打一个包也只能是Java Code,如果真依赖了本地第三方类库,都一样会有麻烦
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1609 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 09:21 · PVG 17:21 · LAX 01:21 · JFK 04:21
    ♥ Do have faith in what you're doing.