Kodi Community Forum
Python XBMCPlugin Module not found - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+--- Thread: Python XBMCPlugin Module not found (/showthread.php?tid=194007)



Python XBMCPlugin Module not found - DirtyDan125 - 2014-05-05

Hi! I have been a XBMC user for sometime now and a beginning python programmer. I wanted to start developing an addon so I went to the XBMC wiki and downloaded the plugin tutorial (http://voinage-xbmc-plugins.googlecode.com/files/Plugin-tutorial.rar). I ran a script from the file and got an error saying no module named xbmcplugin. Any help?


RE: Python XBMCPlugin Module not found - Montellese - 2014-05-05

Moved into the Python Add-on Development forum.


RE: Python XBMCPlugin Module not found - Martijn - 2014-05-05

don't run python outside of xbmc


RE: Python XBMCPlugin Module not found - pkscout - 2014-05-07

As Martijn said, you need to run the add-on from within XBMC. XBMC has a separate python instance it uses that contains all the necessary XBMC related libraries. When you run the add-on from the command line, you're using the python instance of the computer, and that doesn't have all the libraries you need.