Python XBMCPlugin Module not found

  Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
DirtyDan125 Offline
Junior Member
Posts: 1
Joined: May 2014
Reputation: 0
Post: #1
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.c...rial.rar). I ran a script from the file and got an error saying no module named xbmcplugin. Any help?
find quote
Montellese Offline
Team Kodi Developer
Posts: 4,794
Joined: Jan 2009
Reputation: 66
Location: Switzerland
Post: #2
Moved into the Python Add-on Development forum.

Always read the online manual (wiki), FAQ (wiki) and search the forum before posting.
Do not e-mail Team Kodi members directly asking for support. Read/follow the forum rules (wiki).
Please read the pages on troubleshooting (wiki) and bug reporting (wiki) before reporting issues.
find quote
Martijn Offline
Team Kodi
Posts: 16,613
Joined: Jul 2011
Reputation: 296
Location: Dawn of time
Post: #3
don't run python outside of xbmc

Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
find quote
pkscout Offline
Posting Freak
Posts: 1,726
Joined: Jan 2011
Reputation: 56
Location: Honolulu, HI
Post: #4
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.
find quote