Torom / BotLi

Lichess Bot
GNU Affero General Public License v3.0
44 stars 82 forks source link

How can we install python -m pip install -r requirements.txt #9

Closed HeroRebor closed 2 years ago

HeroRebor commented 2 years ago

BotLi already mention that install all requirement but how can we download this python -m pip install -r requirements.txt And after putting everything u have wrote how to control So as I understand in cmd(Command promot) we have to type 1st git clone https://github.com/Torom/BotLi.git Then CD Botli After then I canr understand Plz explain what to do next after cd bot li and dont tell about enginr and book as I using already just tell after botli

RaviharaV-bot commented 2 years ago

you have to create venv to install requirements run these git clone https://github.com/Torom/BotLi.git cd Botli python3 -m venv .venv ./.venv/Scripts/Activate.ps1 python -m pip install -r requirements.txt python user_interface.py

Torom commented 2 years ago

You don't necessarily need a venv to install the requirements. But it can help to fulfill different requirements in different projects.

To your question: After cloning the repository, you copy config.yml.default to config.yml and make your changes in it, enter your token and so on. To install the python requirements go to the BotLi folder in a terminal and execute this command: python -m pip install -r requirements.txt