alright so i am trying to install vlc with pip and its telling me successfully installed python-vlc ok good that's what i wanted but when i go to run the program im trying to use vlc in witch is here
import vlc p = vlc.MediaPlayer("https://www.youtube.com/watch?v=jC1vtG3oyqg") p.play() i am told this
Traceback (most recent call last): File "C:\Users\Matt\Desktop\test2.py", line 1, in <module> import vlc File "C:\Python27\lib\site-packages\vlc.py", line 173, in <module> dll, plugin_path = find_lib() File "C:\Python27\lib\site-packages\vlc.py", line 150, in find_lib dll = ctypes.CDLL('libvlc.dll') File "C:\Python27\lib\ctypes\__init__.py", line 365, in __init__ self._handle = _dlopen(self._name, mode) WindowsError: [Error 126] The specified module could not be found im not sure what i am suppose to do since there are errors in the vlc program ( i think ) if you could help me out and get this working for me that would be amazing thank you so much!!
where libvlc.dllin a CMD console? you may need to put VLC directory in your PATH.where libvlc.dllreturn no PATH (and return an error). But I found it in the folder of VLC. Do you know how i can make windows recognize it.C:\Python27\lib\site-packages(same place as the python file) or somewhere you have the path pointing to likeC:\windows\system32