求助Python3.8怎么给Tk设置底图
求助Python3.8怎么给Tk设置底图,pil模块显示有,debug的时候显示不存在。C:\Users\Administrator\PycharmProjects\gui001\venv\Scripts\python.exe C:/Users/Administrator/PycharmProjects/gui001/bg.py
Traceback (most recent call last):
File "C:/Users/Administrator/PycharmProjects/gui001/bg.py", line 2, in <module>
from PIL import Image, ImageTk
ModuleNotFoundError: No module named 'PIL'
Process finished with exit code 1 pil卸了重装试试 老八秘制 发表于 2020-5-22 21:17
pil卸了重装试试
不得行 {:10_312:} 不要随便给文件起名字,比如bg.py,这样会让python混乱的,把那个bg.py改个其它名字,估计就没问题了。
页:
[1]