简体   繁体   English

Python Tkinter 音乐播放器

[英]Python Tkinter music player

So I am doing a school project but wanted to make it more advanced than required.所以我正在做一个学校项目,但想让它比要求的更先进。 I have been watching and looking at scripts but dont get the "import example" and "from PIL import ImageTk, Image".我一直在看和看脚本,但没有得到“导入示例”和“从 PIL 导入 ImageTk,图像”。 Specifically it says: line 6, in from PIL import ImageTk, Image ModuleNotFoundError: No module named 'PIL' It isn't the only module I have that is in the code.How can I make it work???具体来说:第 6 行,在 from PIL import ImageTk, Image ModuleNotFoundError: No module named 'PIL'这不是我在代码中唯一拥有的模块。我怎样才能让它工作??? image图片

In console using:在控制台中使用:

python3 -m pip install Pillow python3 -m pip 安装枕头

or或者

python -m pip install Pillow python -m pip 安装枕头

or或者

pip3 install Pillow pip3 安装枕头

or或者

pip install Pillow pip 安装枕

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM