Using Python 3.8.0, 64 bit
OS: Windows 10 Pro, Version 10.0.15063 Build 15063, 64 bit
VLC, 3.0.8 Vetinari, 64 bit
Have installed Python VLC Bindings through PIP
The path to VLC and the direct path to libvlc.dll are both in my “PYTHONPATH” and “PATH” environment variables.
I am running my script via the Windows command prompt.
The script i'm trying to run is one line:
import vlc
Here is what the command prompt is telling me:
Traceback (most recent call last):
File "001.py", line 1, in <module>
import vlc
File "C:\Program Files\Python38\lib\site-packages\vlc.py", line 207, in <module>
dll, plugin_path = find_lib()
File "C:\Program Files\Python38\lib\site-packages\vlc.py", line 163, in find_lib
dll = ctypes.CDLL(libname)
File "C:\Program Files\Python38\lib\ctypes\__init__.py", line 369, in __init__
self._handle = _dlopen(self._name, mode)
FileNotFoundError: Could not find module 'libvlc.dll'. Try using the full path with constructor syntax.
I'm new to Python, any help would be greatly appreciated!
WinDLL
withwinmode
flag? This answer helped me with a similar problem as yours. – Johnsten