chess-puzzle-maker icon indicating copy to clipboard operation
chess-puzzle-maker copied to clipboard

Instructions to run it on Windows 10

Open Bebul opened this issue 3 years ago • 0 comments

I have a little fight to make it running on my Windows 10 laptop, so here is only documentation, how it was forced to run finally. Hopefully it helps someone too.

After processing all requirements, the execution was unable to run Stockfish, even find it.

I have found in some discussion, the name of exe must be renamed to match the one the python expects, but it does not helped either.

The solution

If you fight to make stockfish available in your environment, you can edit the file .\chess-puzzle-maker\puzzlemaker\fishnet.py and force it to return your beloved fresh stockfish installation exe:

def stockfish_command(update=False):
    filename = stockfish_filename()

    if update:
        filename = update_stockfish(filename)

    #return os.path.join(".", filename)
    return "stockfish_13_win_x64_bmi2.exe"

And the script runs as Haile Gebrselassie then. Really enjoying!

Bebul avatar Mar 19 '21 17:03 Bebul