Open vesper8 opened 4 years ago
oops, the ./build-stockfish.sh
script was broken when i tried it out just now. i just fixed it to use the official stockfish version, which seems to work: https://github.com/official-stockfish/Stockfish
i've also updated the code so that if you run ./build-stockfish.sh
to compile your own Stockfish version, it priorities stockfish in your local directory so you don't have to modify your $PATH
to get it working.
try installing pip3 install -r requirements.txt
to install the python3 dependencies. if that works, then you should have the inv
command available to run inv update-stockfish
that said, since you're on mac, you can install stockfish via homebrew (brew install stockfish
) to avoid having to compile your own version
I downloaded Stockfish for MAC from the official Stockfish website and unzipped the archive
I tried a few things to add it to my path. I tried adding the executables to my bin path which is already part of my path, but that didn't work
I then tried adding the directory containing the 3 executables to my path, that also didn't work.
Finally, I added the executables to the root of the chess-puzzle-maker folder and edited the
analysis.py
to explicitly link to the executable (I replaced the_stockfish_command()
by"./stockfish-11-64"
inanalysis.py
And that worked
I also tried running the ./build-stockfish.py but got a build error
And I don't understand how you're supposed to run
inv update-stockfish
Some clarification would be much appreciated : )
Thanks for making this!