I am trying to create a media player using vlc and python but it throws an Error which is No module named vlc. how to fix this?
There is also python-vlc
https://pypi.python.org/pypi/python-vlc/1.1.2
Download the .tar.gz file into your project and unzip it. Once unzipped, run:
python setup.py install
This will install the python-vlc module for you and then try importing it in your python script.
P.S Make sure you are inside the unzipped folder and you can see the setup.py file.
I had a same issue. You should try sudo pip install python-vlc
Install
$ sudo pip install python-vlc
Then you can import the python module
import vlc
The answer didn't work for me, using Mu 1.0.2 on a Raspberry Pi, this did however:
sudo pip3 install vlc