vanhbakaa / moonbix-bot

Python bot for moonbix (WORKING!) telegram bot. Join here:
https://t.me/Binance_Moonbix_bot/start?startApp=ref_6624523270&startapp=ref_6624523270&utm_medium=web_share_copy
Apache License 2.0
164 stars 38 forks source link

ModuleNotFoundError: No module named 'bot.core.solver.captcha_solver' #44

Closed bi-pixel closed 1 month ago

bi-pixel commented 1 month ago

Traceback (most recent call last): File "/moonbix-bot/bot/core/tapper.py", line 800, in run await self.play_game(session) File "/moonbix-bot/bot/core/tapper.py", line 678, in play_game from bot.core.solver.captcha_solver import solve_captcha ModuleNotFoundError: No module named 'bot.core.solver.captcha_solver'

vanhbakaa commented 1 month ago

what is your python version ?

online commented 1 month ago

@vanhbakaa my python version is 3.10.12. I have the same problem with the latest version of code.

vanhbakaa commented 1 month ago

image BRUH

bi-pixel commented 1 month ago

My python version is Python 3.11.5

root@b32d54318206:/moonbix-bot# python3 -V
Python 3.11.5
vanhbakaa commented 1 month ago

My python version is Python 3.11.5

root@b32d54318206:/moonbix-bot# python3 -V
Python 3.11.5

Let me check if it work on ubuntu server

online commented 1 month ago

@vanhbakaa

I have also installed Python v3.11.5 on an Ubuntu server via pyenv. Then I ran the following commands:

rm -rf venv
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

But when I execute the command python3 main.py, I get the following error:

Traceback (most recent call last):
  File “/root/projects/moonbix-bot-original/main.py”, line 4, in <module>
    from bot.utils.launcher import process
  File “/root/projects/moonbix-bot-original/bot/utils/__init__.py”, line 1, in <module>
    from .logger import logger
  File “/root/projects/moonbix-bot-original/bot/utils/logger.py”, line 2, in <module>
    from loguru import logger
ModuleNotFoundError: No module named 'loguru'

Translated with DeepL.com (free version)

online commented 1 month ago

Also I have problem on my Mac with M2:

CleanShot 2024-10-06 at 02 15 34@2x

mz100814 commented 1 month ago

mac with m2 same problem image

vanhbakaa commented 1 month ago

mac with m2 same problem image

fixed

vanhbakaa commented 1 month ago

Also I have problem on my Mac with M2:

CleanShot 2024-10-06 at 02 15 34@2x

install newest version

bi-pixel commented 1 month ago

The new version works without this error. Thanks.