Importerror:no module named PIL (Generate Authenticode error)

Source: Internet
Author: User

Preface Jin

These two days with the Django framework to write the front end of time, encountered a lot of problems, today to share a few common problems, but also let people pit countless times ah ...

Body

When we use the command line shell to run >>manage.py Runserver, there are
Error:

Importerror:no module named PIL error

Analysis:

This is because we did not install Pollow

Workaround:
At the command line Shell end, enter:

>>pip Install Pillow

If it is still an error, it is that you do not have the right to install pillow, this time you need to use Administrator privileges to open the command line , and then run the above command again, show the installation is successful, your PIL installed successfully, when you enter the installation command again, The following prompts appear:

Requirement already satisfied:pillow in C:\Program Files\python36\lib\site-packages

It means that you have been installed successfully. This problem has been solved successfully ^_^

We share together ...

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.