Sivam Natesan Sivam Natesan - 1 year ago 244
Python Question

Import 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 Source

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
Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download