Python XBMCPlugin Module not found

  Thread Rating:
  • 0 Votes - 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...torial.rar). I ran a script from the file and got an error saying no module named xbmcplugin. Any help?
find quote
Montellese Offline
Team-XBMC Developer
Posts: 3,699
Joined: Jan 2009
Reputation: 34
Location: Switzerland
Post: #2
Moved into the Python Add-on Development forum.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.

[Image: badge.gif]
find quote
Martijn Offline
Team Kodi
Posts: 11,352
Joined: Jul 2011
Reputation: 165
Location: Dawn of time
Post: #3
don't run python outside of xbmc

Always read the XBMC online-manual, FAQ and search the forums before posting.
Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting, make sure you read this first

For your mediacenter artwork go to
[Image: fanarttv.png]
find quote
pkscout Offline
Posting Freak
Posts: 1,088
Joined: Jan 2011
Reputation: 23
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