Some quick checking - this is the module - https://kodi.tv/addons/matrix/script.module.six/
Test
Add six.py to the addons
Code
cd /storage/.kodi/addons/virtual.system-tools/bin
wget https://raw.githubusercontent.com/benjaminp/six/master/six.py
Does not seem to help, as dstat seems to need some further python3 patches.
Code
# dstat
You did not select any stats, using -cdngy by default.
Traceback (most recent call last):
File "/storage/.kodi/addons/virtual.system-tools/bin/dstat", line 2825, in <module>
main()
File "/storage/.kodi/addons/virtual.system-tools/bin/dstat", line 2684, in main
scheduler.run()
File "/usr/lib/python3.11/sched.py", line 151, in run
File "/storage/.kodi/addons/virtual.system-tools/bin/dstat", line 2782, in perform
line = line + o.show() + o.showend(totlist, vislist)
^^^^^^^^
File "/storage/.kodi/addons/virtual.system-tools/bin/dstat", line 515, in show
if isinstance(self.val[name], collections.Sequence) and not isinstance(self.val[name], six.string_types):
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Sequence'
Display More
Actual fix
Edit dstat and change “import collections” to “import collections.abc”
And “collections.Sequence” to “collections.abc.Sequence”
Unable to import freegames python package : AttributeError: module 'collections' has no attribute 'Sequence'
Python version : 3.10
I was trying to install the freegames python package using the following pip command
C:\Users\praty>pip install freegames
Defaulting…
stackoverflow.com
dstat is unfortunately a archived project. https://github.com/dstat-real/dstat So whilst the above will get you going - not sure on longevity.