How to install PIL in Ubuntu 11.04?

前端 未结 4 1859
死守一世寂寞
死守一世寂寞 2021-02-14 16:27

I see this question asked all over the internet, and I\'ve tried following them all, but I still can\'t get PIL to work.

I tried symbolically linking the zlib, jpeg, et

4条回答
  •  轮回少年
    2021-02-14 17:09

    As always, use the package manager:

    sudo apt-get install python-imaging
    

    It'll deal with it all for you. The packages are available.

    Manually installing, in any Linux distro, is a wasted endeavour, unless the packages really don't exist. Package maintainers spend time ensuring that the package works and installs correctly, there is no point duplicating their effort. Especially not to manually install something that then doesn't have the advantages of a package - no automatic updating, no easy removal, etc...

提交回复
热议问题