Python Forum

Full Version: python-vlc error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I have the latest VLC 64bit installed in the default location.
I am running python 3.6 64bit
I have python-vlc installed.

I am simply trying to run the mediaplayer demo script included with python-vlc. The script runs and generates the gui but this error appears when I try to play a file:


Error:
Traceback (most recent call last): File "C:\Users\floatingshed\Downloads\examples_wxvlc.py", line 177, in OnPlay self.OnOpen(None) File "C:\Users\floatingshed\Downloads\examples_wxvlc.py", line 148, in OnOpen self.Media = self.Instance.media_new(unicode(video)) File "C:\Python36\lib\site-packages\vlc.py", line 1932, in media_new m._instance = self AttributeError: 'NoneType' object has no attribute '_instance'
I have Googled this for hours, most say that the vlc dll's are not being found but they are.
Any ideas?
Thanks.
Please post your code. Or at least a link to the demo