更新时间:2022-05-24 22:11:41
您正在第5行的MediaPlayer构造函数中传递一个列表,但它需要一个字符串(参考:
You're passing a list in MediaPlayer constructor in line#5, but it expects a string(ref: https://linuxconfig.org/how-to-play-audio-with-vlc-in-python).
尝试进行此更改:
m = vlc.MediaPlayer('D:\faith-42201.mp3')
在Python 2.6中导入Pylab时出现问题
导入sutime模块时出现以下“导入错误"-这是什么意思?
在python中导入文件时出现导入错误
在Juypter Notebook中导入python文件时出现缩进错误
导入Django模块时出现VS Code错误
导入 Django 模块时出现 VS Code 错误
从 SciPY 导入某些模块时出现导入错误
尝试在 SublimeText2 中导入 python 模块时出现导入错误
在python中导入VLC模块时出现属性错误
Google App Engine Python:部署时yaml配置文件中出现错误