Sivam Natesan Sivam Natesan - 5 months ago 92
Python Question

Import vlc.py in to python directory (sys.path) in raspberry pi

I am trying to import the vlc module in to python directory in raspberry pi, but error comes which says No module named VLC. can anyone tell me the way to import vlc module in python.

Thanks in advance :)

Answer

You first have to install python-vlc on the raspberry (as mentioned in the comments) with pip

sudo pip install python-vlc

Then you can import the python module

import vlc