-1
C:\Users\philipp>d:

D:\>cd _lichessBot\lichess-bot-master

D:\_lichessBot\lichess-bot-master>py -m venv venv

D:\_lichessBot\lichess-bot-master>venv\Scripts\activate

(venv) D:\_lichessBot\lichess-bot-master>pip install -r requirements.txt
Requirement already satisfied: chess==1.10.0 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from -r requirements.txt (line 1)) (1.10.0)
Requirement already satisfied: PyYAML==6.0.1 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from -r requirements.txt (line 2)) (6.0.1)
Requirement already satisfied: requests==2.31.0 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from -r requirements.txt (line 3)) (2.31.0)
Requirement already satisfied: backoff==2.2.1 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from -r requirements.txt (line 4)) (2.2.1)
Requirement already satisfied: rich==13.5.2 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from -r requirements.txt (line 5)) (13.5.2)
Requirement already satisfied: charset-normalizer<4,>=2 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 3)) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 3)) (3.4)
Requirement already satisfied: urllib3<3,>=1.21.1 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 3)) (2.0.4)
Requirement already satisfied: certifi>=2017.4.17 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from requests==2.31.0->-r requirements.txt (line 3)) (2023.7.22)
Requirement already satisfied: markdown-it-py>=2.2.0 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from rich==13.5.2->-r requirements.txt (line 5)) (3.0.0)
Requirement already satisfied: pygments<3.0.0,>=2.13.0 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from rich==13.5.2->-r requirements.txt (line 5)) (2.16.1)
Requirement already satisfied: mdurl~=0.1 in d:\_lichessbot\lichess-bot-master\venv\lib\site-packages (from markdown-it-py>=2.2.0->rich==13.5.2->-r requirements.txt (line 5)) (0.1.2)

(venv) D:\_lichessBot\lichess-bot-master>python3 lichess-bot.py -u
Traceback (most recent call last):
  File "lichess-bot.py", line 3, in <module>
    import chess
ModuleNotFoundError: No module named 'chess'

So I followed the article https://github.com/lichess-bot-devs/lichess-bot/wiki/How-to-Install of lichess to add my bot to lichess. Now Im struggling to Upgrade my Account to a Bot account. I have set up a virtual environment where is installed every requirement from requirements.txt (as shown in pip list) but for whatever reason when i try to upgrade my account, it tells me "ModuleNotFound"

Pranav Hosangadi
  • 23,755
  • 7
  • 44
  • 70
  • 2
    You're likely not using the same python as your venv. What do you get with `where python3` on the command line? Maybe you need to do `py` or `python` instead of `python3` – Pranav Hosangadi Aug 14 '23 at 14:30
  • C:\Users\philipp>where python3 C:\Users\philipp\AppData\Local\Microsoft\WindowsApps\python3.exe I am using 2 seperate versions of python. 3.11 and 3.8. Lichess requires 3.9 or higher but i need 3.8 for antoher project. Maybe the problem lies there – Longfield Titans Aug 14 '23 at 14:42

0 Answers0