Mine gets here: chess.engine.SimpleEngine.popen_uci("stockfish")
finds stockfish in its directory, and then pumps out a load of internal errors and breaks before returning.
Windows 10, VS2017, python-chess 0.25.0
Code: Select all
# code as per Python Chess example code ....
import chess
import chess.engine
engine = chess.engine.SimpleEngine.popen_uci("stockfish")
board = chess.Board()
while not board.is_game_over():
result = engine.play(board, chess.engine.Limit(time=0.100))
board.push(result.move)
engine.quit()