Nub here...

101 views
Skip to first unread message

Mario Lacunza

unread,
Mar 19, 2023, 4:21:29 PM3/19/23
to PicoChess
Hello !
I need some help please, I just installed the software following this:


After that I try:
$ sudo python3 /opt/picochess/picochess.py but I get this error:

ModuleNotFoundError: No module named 'chess.uci'

I already installed chess module and python-chess, what am I missing? thanks

I have a Rpi4B, 64bits os

Thanks!

Mario

Ghislain Bourgeois

unread,
Mar 19, 2023, 4:51:03 PM3/19/23
to PicoChess
Hi,

Did you run the installation command as root? I assume no and it installed the dependencies for only a normal user.

This installation script is quite new and not very well tested yet. If you want to help with development, that is a good way to go, but otherwise to just a get system running, I would suggest you look here for images built by Randy: https://groups.google.com/u/1/g/picochess/c/IpPNYiPPYyA. You will find download links in the first message of the thread.

Ghislain

Mario Lacunza

unread,
Mar 19, 2023, 5:00:03 PM3/19/23
to PicoChess
Yes I run the installer like root. The instruction said that in github.

The problem is this: ModuleNotFoundError: No module named 'chess.uci'

I just check module chess and it dont have a submodule uci like the error said.

I'll check that image thanks

Ghislain Bourgeois

unread,
Mar 19, 2023, 5:54:46 PM3/19/23
to 'Dirk' via PicoChess
The python-chess module should have this, it is pinned to a version that was tested with picochess. I wonder if this might be due to the 64bit OS, as I did not test the installation script on that.

I will test a fresh install and see if I can reproduce.

Ghislain

--
You received this message because you are subscribed to a topic in the Google Groups "PicoChess" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/picochess/Y9JeySdyFrU/unsubscribe.
To unsubscribe from this group and all its topics, send an email to picochess+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/picochess/4258f183-7f36-4a86-9bb8-3e139f0c9353n%40googlegroups.com.

Mario Lacunza

unread,
Mar 19, 2023, 7:12:28 PM3/19/23
to PicoChess
I can run the software.. I was checking the dependency versions and I found python-chess was installed using the latest version.

Now I can see the a board in localhost, is there other way to play? how can adjust the screen resolution? I have a little 7" screenw with 800x600px

Ghislain Bourgeois

unread,
Mar 20, 2023, 2:18:32 PM3/20/23
to PicoChess
I am not running any screen on my side, so I am not sure how to adjust the resolution. I have seen some discussions of that in the thread for the images that I shared with you previously. I would suggest you search in that thread, as there are some settings shared by other users with similar setup as yours.

If your pi is on the network, you can also connect to it remotely from any web browser (that is how I use mine when I want the Web UI), and it should scale properly to your resolution in that case.

Ghislain
Reply all
Reply to author
Forward
Message has been deleted
0 new messages