The startup of dev_appserver.py in appengine in Ubuntu reports that the PILmodule's warning solution is missing.

Source: Internet
Author: User
Use the pythondev_appserver.py site name in Ubuntu to start site debugging. Sometimes you can see two errors. One error is that the datastore-related warning cannot be found, this is because the site was started for the first time, followed by this error: "CouldnotinitializeimagesAPI" youarelikelymissingthePython "PIL" module. imp

Use the python dev_appserver.py site name in Ubuntu to start site debugging. Sometimes you can see two errors. One error is that the datastore-related warning cannot be found, this is because the site was started for the first time, followed by this error:

"Cocould not initialize images API" you are likely missing the Python "PIL" module. ImportError: No module named PIL

The PIL module can also be replaced by other modules, but if you want to use Python Image Library, run

Sudo apt-get install python-imaging.

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.