Package Details: katrain 1.12.2-1

Git Clone URL: (read-only, click to copy)
Package Base: katrain
Description: A tool for analyzing and playing go with AI feedback from KataGo.
Upstream URL:
Keywords: ai baduk go
Licenses: MIT
Submitter: algebro
Maintainer: algebro
Last Packager: algebro
Votes: 8
Popularity: 0.83
First Submitted: 2020-08-06 13:58 (UTC)
Last Updated: 2023-01-18 16:30 (UTC)

Latest Comments

1 2 3 Next › Last »

algebro commented on 2022-09-22 20:39 (UTC)

Just a heads up, there appears to be a bug with the latest python-kivymd update. I downgraded to python-kivymd 0.104.1-1 and katrain worked again. I'd appreciate help looking into it if anyone is able to. Thanks!

algebro commented on 2022-07-18 19:10 (UTC)

Updated, thanks for the note!

Ziusudra commented on 2022-07-11 01:57 (UTC)

Fresh install and I get (without the stack trace):

File "/usr/lib/python3.10/site-packages/katrain/gui/", line 4, in <module>
    import numpy as np
  ModuleNotFoundError: No module named 'numpy'

Should python-numpy be added as a dependency? After installing it, Katrain seems to run normally. Ah, looks like the dependency was just added -

xyproto commented on 2022-06-12 11:58 (UTC)

After trying python-kivymd 0.104.1, python-kivymd 0.104.2 and python-kivymd-git 0.104.2.r662.g286ee784-1, I can confirm that there are currently issues with katrain in combination with all of the above.

algebro commented on 2022-05-17 15:35 (UTC)

Thanks for the heads up--it looks like it could be a bug in either katrain or kivy or both:

Support for Python 3.10 seems shaky, which unfortunately isn't that uncommon. I'll follow those threads and see if any more promising workarounds (besides patching kivy itself) surface.

beej commented on 2022-05-17 01:58 (UTC)

When I try to load an SGF, the file chooser dialog is devoid of any filenames, and an error shows up on the console:

ERROR: Exception AttributeError: "module 'collections' has no attribute 'Callable'"

I know this is an upstream problem with Kivy, but I fixed it by editing line 668 of


to read (adding ".abc")

if isinstance(filt,

I realize this is completely hackish, but if it happens to anyone else and you just want to get going, here we are. Or if there's a more proper fix, I'd like to know it.

algebro commented on 2022-02-28 20:44 (UTC)

@MoonSwan do you have OpenCL installed? For AMD it should be opencl-amd and for nvidia it should be opencl-nvidia I believe. If installing that fixes it, let me know and I'll add opencl-driver as an optional dependency

MoonSwan commented on 2022-02-26 05:24 (UTC)

Thank you for making this program available. I do have a problem though.

When I tell the AI to use OpenCl i get this error in my Info/Details box on the lower right corner of the program when it's open:

/usr/lib/python3.10/site-packages/katrain/KataGo/katago:error while loading shared libraries: cannot open shared object file: No such file or directory.

Also when building it the compiler spit out a lot of errors about insecure libraries for python. Not sure if that can be helped. I suspect that's a problem for the developer of this program.

maep commented on 2022-01-03 16:34 (UTC)

@algebro Thanks, that fixed it.

algebro commented on 2022-01-03 15:16 (UTC) (edited on 2022-01-03 15:17 (UTC) by algebro)

@maep have you already reinstalled katrain, python-kivymd, and python-dataclasses since you upgraded to python 3.10? On major python updates you have to rebuild all of your AUR python packages