Problems with installing Python's PIL Library

Source: Internet
Author: User

First, when installing with PIP install and PIP3 install, error:Fatal Error in launcher:unable to create process using ' "'

To inquire about the data, when python2.7 and python3.5 coexist, use the following command:

  python2-m pip Install XXX
  python3-m pip Install XXX

However, continue to error: Could not find a version of the satisfies the requirement PIL (from versions:) No matching distribut /c6>

Then Baidu, found a solution:

(Source: http://blog.csdn.net/lhh31/article/details/51979293, Lau gaudy love to drink wax gourd tea)

错误原因Later find a lot of methods, found that my computer is 64-bit, and the official website only provides 32, is to go to the official website to download the other PiL,

找一个非官方的64位大家通用的PIL安装

(1)打开网址 http://www.lfd.uci.edu/~gohlke/pythonlibs/(2) Search for PIL (ctrl+f) and find the image shown below, If your Python is in version 2.7, download cp27, 3.5 download cp35 (3) and install wheel first. Select the appropriate version after the download, open cmd (win+r), you have to install the PIP, specific PIP installation Baidu How to install, enter PIP Install wheel after (4) wheel installed, Find our downloaded pillow-3.3.0-cp27-cp27m-win_amd64 (this is my version)

Since I put it on the desktop, so I open cmd, find the desktop that holds the file, and then Pip (PS: This time PIP should be used: python3-m pip install XXX) installation succeeded

5, after the success, you can use the
At this point, the problem is all solved!

Problems with installing Python's PIL Library

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.