简体   繁体   中英

Installing Pillow for Python 3.6 on Windows

I am new for Python and Django, I am trying about Pillow but When I install Pillow via pip install Pillow from Python Command Shell, I get the message:

Exception:
Traceback (most recent call last):
  File "c:\program files\python36\lib\site-packages\pip\compat\__init__.py", line 73, in console_to_str
    return s.decode(sys.__stdout__.encoding)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xa6 in position 79: invalid start byte

And I google and try but all failed. Can any one help ?

For third-party modules for Windows, I recommend Christoph Gohlke's Python Extension Packages for Windows . The latest version of Pillow is here

Are you using a virtualenv?

I would suggest to download the Python package from Anaconda . It has a lot of packages already installed for you, and is hassle free to download and install.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM