Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
they aren't python libraries, they are exported directly to the interpreter from c++ code.
Posts: 7
Joined: Jul 2010
Reputation:
0
Spiff, I am having the same problem. So what do I do to overcome this problem? I am also seeing Unresolved import errors for urllib2. How do I resolve that?
Posts: 126
Joined: Oct 2009
Reputation:
5
spbogie
Skilled Python Coder
Posts: 126
You should be able to create stubbed out versions of the xbmc modules and add them to the library path in eclipse. These obviously won't do anything to help you debug, but should get around the unresolved import error, as well as provide autocomplete and pydoc.
bsrinath,
Make sure you don't have python3 installed/set as your interpreter for the project in eclipse. urllib2 was merged back into urllib for 3. If that's not the problem then something is wrong with your default library paths in eclipse.
Posts: 7
Joined: Jul 2010
Reputation:
0
spbogie, Thanks!
- I am trying to debug, so yeah, stubbing out would not help me.
- I was able to have both 2.6 and 3.1 in my paths and was able to resolve the urllib2 errors.