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

在 Ubuntu 中通过 pip 安装 PIL

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

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