In doing miscellaneous topics using python scripts for image processing, found that the code no matter how to debug the debugging errors, and then changed the code found that their pycharm in the uninstalled pil.
Method 1: Install directly in pycharm
pycharm—>file—>setting—>Project:Desktop—>Project interpreter—>importationpil—>install package
Method 2: Installation using commands
pip install pillow
Shows that the pip version needs to be upgraded
(Why do you need to upgrade pip packages: due to the fact that when pip versions are too old, many packages can't be installed successfully)
Upgrade pip with the following command
pip install -U pip
If there is a problem with the installation and the network fluctuates, it is recommended to open a hotspot on your cell phone and then connect it to your computer.
This article on the installation of PyCharm in the PIL/Pillow article is introduced to this, more related PyCharm installation PIL/Pillow content please search for my previous posts or continue to browse the following related articles I hope you will support me in the future!