Posts: 664
Joined: Oct 2015
Reputation:
43
2020-03-04, 00:16
(This post was last modified: 2020-03-05, 16:20 by melons2.)
When I go into add-ons and run update recently there are two add-ons with updates waiting but when I try to update I get this error:
"The dependency on xbmc.python 3.0.0 could not be satisfied"
I have been researching off and on for a couple of days and can't find an answer.........
Anyone have a solution?
Thanks!
Posts: 5,244
Joined: Jul 2012
Reputation:
339
2020-03-04, 18:10
(This post was last modified: 2020-03-04, 23:39 by scott967.)
Since 29 Feb, addons intended to be used in Kodi 19 Matrix nightly must specify in their addon.xml a dependency on Python 3.0.0. Addons which specify any Python 2.x.x will not install/update/run (even if they are compatible with both python versions). Python 2 addons should work in 18.6, and currently the plan is to have addons in the Kodi repo provide versions in the Leia (or "lower") repo and also in the Matrix repo (if updated to Python 3).
Update: I don't see any problem here on 18.6 installed on top of 18.5 (only had one addon to update which happened to be youtube alpha 2 and it updated with no issues). I installed the 0303 19 nightly over an older 19 nightly and a bunch of addons were disabled after first running the new nightly. I edited the addon.xml files for all the disabled ones (I've been doing some local updating of addons to Python 3 so I think they work) and re-enabled them all in Kodi 19.
scott s.
.
Posts: 12,461
Joined: Oct 2014
Reputation:
601
From my understanding, changing <import addon="xbmc.python" version="2.x.x" />
(where 2.x.x is whatever version of Python 2 the addon requires) to <import addon="xbmc.python" version="3.0.0" />
in the <requires>
tag pair should do the trick, at least for any addon which is actually Python 2/3 compatible.
It won't of course magically make a Python2 only addon work with v19.