Desamod / GoblinMineBot

Bot for GoblinMine telegram bot
Apache License 2.0
17 stars 1 forks source link

ModuleNotFoundError: No module named 'bot.utils.tg_manager.TGSession' #1

Open MadSaint777 opened 2 weeks ago

MadSaint777 commented 2 weeks ago

Traceback (most recent call last): File "C:\Users\Admin\GoblinMineBot\main.py", line 5, in from bot.utils import logger File "C:\Users\Admin\GoblinMineBot\bot\utils__init__.py", line 2, in from . import launcher File "C:\Users\Admin\GoblinMineBot\bot\utils\launcher.py", line 9, in from bot.core.tapper import run_tapper File "C:\Users\Admin\GoblinMineBot\bot\core\tapper.py", line 16, in from ..utils.tg_manager.TGSession import TGSession ModuleNotFoundError: No module named 'bot.utils.tg_manager.TGSession'

Desamod commented 2 weeks ago

Platform? Python version?

MadSaint777 commented 2 weeks ago

Windows 10. Python 3.11.5

Desamod commented 2 weeks ago

Please, read README first, you need to use python 3.10

MadSaint777 commented 2 weeks ago

im install 3.10 this command. py -3.10-64 -m venv venv

MadSaint777 commented 2 weeks ago

Skipping .env copying Starting the bot... Traceback (most recent call last): File "C:\Users\Admin\GoblinMineBot\main.py", line 5, in from bot.utils import logger File "C:\Users\Admin\GoblinMineBot\bot\utils__init__.py", line 2, in from . import launcher File "C:\Users\Admin\GoblinMineBot\bot\utils\launcher.py", line 12, in from bot.core.TgManager.tg_manager import SessionManager ImportError: DLL load failed while importing tg_manager: %1 не является приложением Win32. done PLEASE EDIT .ENV FILE Для продолжения нажмите любую клавишу . . .

(venv) Admin@DESKTOP-BVRF2JK C:\Users\Admin\GoblinMineBot $ python -V Python 3.10.6