if __name__ == '__main__':
image_open()
以上是我要运行的代码
以下是输出
D:\python.exe D:/untitled2/.idea/untitled1/lesson10.py
Traceback (most recent call last):
File "D:/untitled2/.idea/untitled1/lesson10.py", line 1, in <module>
from PIL import Image
ModuleNotFoundError: No module named 'PIL'
Process finished with exit code 1