shamhi / HamsterKombatBot

Bot that mines coins in HamsterKombat
Apache License 2.0
773 stars 227 forks source link

ModuleNotFoundError: No module named 'loguru' #2276

Open RedRock24 opened 2 weeks ago

RedRock24 commented 2 weeks ago

Вылетает ошибка при запуски программы, прописал .env и запускал INSTALL.bat, после запуская и вот ошибка An error occurs when launching the program, prescribed.env and launched INSTALL.bat, after the launch and here is the error image

Xamius commented 2 weeks ago

В папке выполни pip install -r requirements.txt

DineshValor commented 2 weeks ago

In the folder, run pip install -r requirements.txt

How do I do this I'm a newbie

Copy paste these command:

git clone https://github.com/shamhi/HamsterKombatBot.git 
cd HamsterKombatBot
python -m venv venv
venv\Scripts\activate
pip install -r requirements
playwright install
python main.py

Additional:

  1. Make sure you put API ID & HASH value.
  2. Installed Python 3.10 or 3.11 version.
RedRock24 commented 2 weeks ago

В папке выполни pip install -r requirements.txt Ошибка image

Zubastic commented 2 weeks ago

У тебя питон не той версии скорее всего в переменных средах.

RedRock24 commented 2 weeks ago

У тебя питон не той версии скорее всего в переменных средах.

У меня версия Python 3.12.4

DineshValor commented 2 weeks ago

You most likely have the wrong version of Python in your environment variables.

My Python version is 3.12.4

Did you just ignored our guide or u can't see and read properly? https://github.com/shamhi/HamsterKombatBot/issues/2276#issuecomment-2315113557

RedRock24 commented 2 weeks ago

DineshValor

Who are you? I don't see any benefit in your message.

DineshValor commented 2 weeks ago

DineshValor

Who are you? I don't see any benefit in your message.

First fix your own mistake and stop raising false issue.

RedRock221 commented 2 weeks ago

image Another mistake

DineshValor commented 2 weeks ago

image Another mistake

Dude, atleast login with number and otp, rather than 2, first setup session, so go for 1 option

RedRock221 commented 2 weeks ago

image Another mistake

Dude, atleast login with number and otp, rather than 2, first setup session, so go for 1 option

I didn't understand you, my Russian translator doesn't work well, but I can't figure out what to do

RedRock221 commented 2 weeks ago

Dude, atleast login with number and otp, rather than 2, first setup session, so go for 1 option

I'm sorry, I got it, thanks friend, you helped me

RedRock221 commented 2 weeks ago

image I'm a beginner, I don't understand what needs to be entered here, if I insert the @hamster_kombat_bot token, an error occurs

DineshValor commented 2 weeks ago

image I'm a beginner, I don't understand what needs to be entered here, if I insert the @hamster_kombat_bot token, an error occurs

Telegram phone number with country code. Ex. For Indian number

+919876543210

RedRock221 commented 2 weeks ago

image | 77 - 1 | Unknown error while getting Tg Web Data: Telegram says: [401 AUTH_KEY_UNREGISTERED] - The key is not registered in the system. Delete your session file and login again (caused by "messages.GetDialogs")

RedRock221 commented 2 weeks ago

how to fix this error

Unknown error: 0, message='Attempt to decode JSON with unexpected mimetype: text/html; charset=utf-8', url=URL('https://api.gamepromo.io/promo/login-client')

DineshValor commented 2 weeks ago

image | 77 - 1 | Unknown error while getting Tg Web Data: Telegram says: [401 AUTH_KEY_UNREGISTERED] - The key is not registered in the system. Delete your session file and login again (caused by "messages.GetDialogs")

Bro choose option 1 first and complete login verification