PyBirthdayWish icon indicating copy to clipboard operation
PyBirthdayWish copied to clipboard

Could not find 'libvlc.dll'

Open AllenWu233 opened this issue 3 years ago • 2 comments
trafficstars

Traceback (most recent call last):
  File "E:\Python_work\program\PyBirthdayWish\PyBirthdayWish.py", line 7, in <module>
    import vlc
  File "E:\Python_work\program\PyBirthdayWish\birthday_venv\lib\site-packages\vlc.py", line 220, in <module>
    dll, plugin_path  = find_lib()
  File "E:\Python_work\program\PyBirthdayWish\birthday_venv\lib\site-packages\vlc.py", line 180, in find_lib
    dll = ctypes.CDLL('.\\' + libname)
  File "E:\Python\Python310\lib\ctypes\__init__.py", line 374, in __init__
    self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'E:\Python_work\program\PyBirthdayWish\libvlc.dll' (or one of its dependencies). Try using the full path with constructor syntax.

help me pls😭

AllenWu233 avatar Nov 04 '22 14:11 AllenWu233

https://stackoverflow.com/questions/70554558/vlc-library-error-cannot-import-it-into-code It works on my end after installing the latest apple-silicon vlc.

0xlxy avatar Jan 02 '23 16:01 0xlxy

pip install python-vlc

TheGreatSimo avatar Jan 13 '23 03:01 TheGreatSimo