Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
MadSaint777 opened this issue Nov 11, 2024 · 5 comments

Comments

@MadSaint777
Copy link

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
Copy link
Owner

Desamod commented Nov 11, 2024

Platform? Python version?

@MadSaint777
Copy link
Author

Windows 10. Python 3.11.5

@Desamod
Copy link
Owner

Desamod commented Nov 11, 2024

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

@MadSaint777
Copy link
Author

MadSaint777 commented Nov 11, 2024

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

@MadSaint777
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants