Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
Title says it all, so I hope for a quick reply.
On windows, where the words "dependency" and "library" are as unknown to the average user, an advanced user tries to convince me that he has kodi 18 working with python3. And that is the reason he has no issues with python2's shortcomings, like... non-utf8 characters. Can something like that be true?
On linux, where every app is built against the same libs, everything has proper dependencies. E.g. On my system, I am 1000% sure that kodi uses the same python 3.11 that qbittorrent or samba does.
On windows, things are different, because one can install whatever version of any app and that app can bring its own dependencies, no matter how old or new they are. That is why one can have kodi 18 (python2) and qbittorrent (python3) installed at the same time.
p.s. I know qbittorrent is built with qt5/6, it just needs python for its search function.
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
I know that, I even have it bookmarked to check what versions of xbmc.* are needed when addons do not install. E.g. I came across a skin which needs xbmc.gui 5.16, which makes it incompatible with a kodi 19 installation I wanted to install it on.
But what I ask is different, so let me put it another way. Assuming that kodi bundles ALL its libraries on the windows installer, like all apps do, was there any kodi 18 installer for windows that came with python3?
Posts: 4,007
Joined: Jan 2023
Reputation:
407
hmm not sure why ask a question you already know the answer to
then ask it a 2nd time rephrased
but i won't run the risk of telling you something you already know again so good luck
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
Yes, I know the answer to it, since kodi 19 and the transition to python3, and I think it applies to all oses, not just windows.
I just can't stand such claims by people who e.g. program in python (which is something I don't) and, because of that probably, say they know better.
Thank you all. I have nothing else to add. If there is nothing else you can add, please put the padlock.
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
Hello again and sorry for bringing this thread back to the surface. I would like to ask which version of python is bundled with kodi 21 for windows and on libreelec 12, if anyone knows.
I am on python 3.12 the last few months (since late June or early July I think) and it is gives me issues with most apps that use it. On kodi, I do not dare to install the twitch addon!
Also, can someone please update the wiki of addon.xml with the new versions of xbmc.python, xbmc.gui etc for kodi 21?
Posts: 5,478
Joined: Jul 2012
Reputation:
384
Don't know anything about Kodi on Linux, but guessing if you can install some python 3.10 as the system python that might work for you.
scott s.
.
Posts: 270
Joined: Oct 2017
Reputation:
10
jim_p
Senior Member
Posts: 270
2024-10-02, 08:48
(This post was last modified: 2024-10-02, 13:24 by jim_p. Edited 1 time in total.)
In linux, you can not "just install" whatever you like, you can only install what is in the distro's repo and right now ONLY python 3.12.6 (version of python3 that is installed and used by default for all apps that need it as I said above) and 3.13rc2 (must be manually installed and manually used when needed) are available. Of course, installing a python version is the one part of the story. The other part is "making" the app use that python version and not the one it was compiled against.
Tbh, I was hoping that the windows version would use python 3.11, so as to test it again with my kodi 21, but that version was removed from the repo in late August.