小编rob*_*bby的帖子

Python-chess 打开 UCI 引擎权限错误被拒绝

我目前正在创建一个 python 脚本,它使用 python-chess 和 chess.uci 打开国际象棋引擎 Stockfish。但是,当我尝试打开 Stockfish 引擎时,我得到了

PermissionError: [Errno 13] 权限被拒绝

所以我更深入地研究了这个问题,显然,你不能直接打开目录或文件夹。但是,查看有关为 python-chess 打开 UCI 引擎的文档,该示例显示打开似乎是 /usr/bin 下的目录

文档在这里:https : //python-chess.readthedocs.io/en/v0.23.10/uci.html

有没有其他方法可以使用 UCI 打开引擎?我的操作系统是 Mac OS。

python uci python-chess

5
推荐指数
1
解决办法
218
查看次数

标签 统计

python ×1

python-chess ×1

uci ×1