shamhi / TapSwapBot

Bot that mines coins in Tapswap
https://t.me/tapswap_bot
295 stars 115 forks source link

Erorr when py main.py and pip install -r requirements #47

Closed 0xsiwant closed 5 months ago

0xsiwant commented 5 months ago

:\Users_WhatYourDream\Downloads\TapSwapBot\TapSwapBot-main>py main.py Traceback (most recent call last): File "C:\Users_WhatYourDream\Downloads\TapSwapBot\TapSwapBot-main\main.py", line 4, in from bot.utils.launcher import process File "C:\Users_WhatYourDream\Downloads\TapSwapBot\TapSwapBot-main\bot\utils__init__.py", line 2, in from . import launcher File "C:\Users_WhatYourDream\Downloads\TapSwapBot\TapSwapBot-main\bot\utils\launcher.py", line 12, in from bot.core.tapper import runtapper File "C:\Users_WhatYourDream\Downloads\TapSwapBot\TapSwapBot-main\bot\core\tapper.py", line 7, in from aiocfscrape import CloudflareScraper File "C:\Python312\Lib\site-packages\aiocfscrape__init.py", line 8, in import js2py File "C:\Python312\Lib\site-packages\js2py\init.py", line 72, in from .base import PyJsException File "C:\Python312\Lib\site-packages\js2py\base.py", line 2965, in @Js ^^ File "C:\Python312\Lib\site-packages\js2py\base.py", line 165, in Js return PyJsFunction(val, FunctionPrototype) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python312\Lib\site-packages\js2py\base.py", line 1377, in init__ cand = fix_js_args(func) ^^^^^^^^^^^^^^^^^ File "C:\Python312\Lib\site-packages\js2py\utils\injector.py", line 27, in fix_js_args code = append_arguments(six.get_function_code(func), ('this', 'arguments')) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Python312\Lib\site-packages\js2py\utils\injector.py", line 121, in append_arguments arg = name_translations[inst.arg]


KeyError: 3
shamhi commented 5 months ago

use python 3.10 or 3.11