Stockfish is one of the most powerful Chess Engines in the world. These Instructions are to download and use it on a Raspberry PI. It's tested on Raspberry PI 4 only.
sudo apt-get install build-essential
make build ARCH=armv7
Look into this module, and at this page exactly: https://python-chess.readthedocs.io/en/latest/engine.html
You can play against Stockfish on the website that I built Chessduo
My name is Omar Qunsul. I write these articles mainly as a future reference for me. So I dedicate some time to make them look shiny, and share them with the public.