Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Instructions to run it on Windows 10 #9

Open
Bebul opened this issue Mar 19, 2021 · 0 comments
Open

Instructions to run it on Windows 10 #9

Bebul opened this issue Mar 19, 2021 · 0 comments

Comments

@Bebul
Copy link

Bebul commented Mar 19, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant