I am currently creating a python script that opens a chess engine, Stockfish, using python-chess, and chess.uci. However, when I try opening up the stockfish engine, I get
PermissionError: [Errno 13] Permission denied
So I looked more into this issue, and apparently, you cannot open directories or folders directly. However, looking into the documentation for opening a UCI engine for python-chess, the example shows opening what seems to be a directory under /usr/bin
The documentation is here: https://python-chess.readthedocs.io/en/v0.23.10/uci.html
Is there any other way to open an engine using UCI? My OS system is Mac OS.