Install PIL in Ubuntu 12.04 Python 2.7 and Python 3.2

后端 未结 3 1073
粉色の甜心
粉色の甜心 2020-12-14 20:35

I am, using Ubuntu 12.04 server which by default has two versions of Python: 2.7 and 3.2. When I install PIL using the python setup.py install terminal command,

3条回答
  •  情书的邮戳
    2020-12-14 20:49

    Your instructions are too long and not entirely scripted, these are better (same platform — recent Debian/Ubuntu):

    sudo aptitude install python3-pip git
    pip-3.2 install --user git+https://github.com/python-imaging/Pillow
    

提交回复
热议问题