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 ...