Search code examples
pythonvlcraspberry-pi2

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 :)


Solution

  • 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