lichess-bot-devs / lichess-bot

A bridge between Lichess bots and chess engines
GNU Affero General Public License v3.0
776 stars 450 forks source link

Compilation error running lichess-bot.py cloned straight from GitHub, no modifications #1049

Closed stevehjohn closed 3 days ago

stevehjohn commented 3 days ago

Describe the bug I get the following error when executing python3 lichess-bot.py

Traceback (most recent call last):
  File "/Users/steve.john/Git/UsefulRepos/lichess-bot/lichess-bot.py", line 2, in <module>
    from lib.lichess_bot import start_program
  File "/Users/steve.john/Git/UsefulRepos/lichess-bot/lib/lichess_bot.py", line 3, in <module>
    import chess
ModuleNotFoundError: No module named 'chess'

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo.
  2. Enter the repo folder and type `python3 lichess-bot.py;

Expected behavior Not get this error.

Logs None

Desktop (please complete the following information):

Additional context No other context.

stevehjohn commented 3 days ago

Oope. Should have read the instructions about requirements. Soz.