Can't import VLC to Python on Windows.
Posted: 16 Oct 2015 18:17
Hello, I'm trying to stream some videos from a website (not YouTube) using Python, everyone suggested that I use VLC to play the stream, I downloaded VLC using pip but got this error:
Then I tried the one from your git and now I'm getting this error:
So, any idea how to fix that!? Thanks.
Windows 8, Python 2.7
No module named app
Then I tried the one from your git and now I'm getting this error:
>>> import vlc
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
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 146, in find_lib
dll = ctypes.CDLL('libvlc.dll')
File "C:\Python27\lib\ctypes\__init__.py", line 353, in __init__
self._handle = _dlopen(self._name, mode)
WindowsError: [Error 193] %1 is not a valid Win32 application
So, any idea how to fix that!? Thanks.
Windows 8, Python 2.7