我有这样的代码
import vlc
player = vlc.MediaPlayer("a.mp4")
player.play()
它给了我这个错误
Traceback (most recent call last):
File "c:\Users\phong\Desktop\Python\Media player\media_player.py", line 1, in <module>
import vlc
File "C:\Users\phong\AppData\Local\Programs\Python\Python310\lib\site-packages\vlc.py", line 210, in <module>
dll, plugin_path = find_lib()
File "C:\Users\phong\AppData\Local\Programs\Python\Python310\lib\site-packages\vlc.py", line 170, in find_lib
dll = ctypes.CDLL('.\\' + libname)
File "C:\Users\phong\AppData\Local\Programs\Python\Python310\lib\ctypes\__init__.py", line 374, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'C:\Users\phong\Desktop\Python\libvlc.dll' (or one of its dependencies). Try using the full path with constructor syntax.