PanagiotisIatrou / chess-auto-bot

A bot for chess.com and lichess.org that automatically plays chess for you
MIT License
75 stars 28 forks source link

"Stockfish path provided is not valid" #40

Open mlovescoding opened 1 year ago

mlovescoding commented 1 year ago

When I download stockfish, select it in the GUI, and start it, I get this error. On the terminal it says,

Exception ignored in: <function Stockfish.del at 0x0000015273DDE5C0> Traceback (most recent call last): File "C:\Users\Gaming Laptop\chess-auto-bot-main\venv\Lib\site-packages\stockfish\models.py", line 777, in del self.send_quit_command() File "C:\Users\Gaming Laptop\chess-auto-bot-main\venv\Lib\site-packages\stockfish\models.py", line 770, in send_quit_command if self._stockfish.poll() is None: ^^^^^^^^^^^^^^^ AttributeError: 'Stockfish' object has no attribute '_stockfish'

I read all of the past issues and none of then help my problem.

PanagiotisIatrou commented 1 year ago

Hello, @mlovescoding. Did you select the stockfish executable on the GUI? If so, what is your python version?