Closed niklasf closed 5 years ago
Hey,
one thing you could try out is calling the python interface of leela using a .sh
file in linux.
It took me some time to figure this out, but it worked on my setup for CrazyAra:
Use a .sh
-file to start python from a different process:
crazyara.sh
#!/bin/sh
/home/queensgambit/anaconda3/bin/python /path/crazyara.py
test_engine_loading.py
import chess.uci
engine = chess.uci.popen_engine('/path/crazyara.sh')
engine.uci()
engine.name
# >> 'CrazyAra 0.3.0'
engine.isready()
engine.go()
# >> BestMove(bestmove=Move.from_uci('e2e4'), ponder=None)
Best regards, ~QueensGambit