Open kittenvr opened 8 months ago
pip install infinite-craft
pip install termcolor
run with py -X utf8 main.py
``
run with
py -X utf8 main.py
Run pip install infinite-craft pip install termcolor py -X utf8 craft.py
Works for me
Run pip install infinite-craft pip install termcolor py -X utf8 craft.py
Works for me
------------------------ Starting Random Run ------------------------
2024-11-23 14:39:12 WARNING [INFINITE CRAFT] Closed InfiniteCraft session
Traceback (most recent call last):
File "F:\InfiniteBot-main\main.py", line 29, in
File "C:\Users\lordfunion\AppData\Local\Programs\Python\Python313\Lib\asyncio\runners.py", line 194, in run
return runner.run(main)
~~~~~~~~~~^^^^^^
File "C:\Users\lordfunion\AppData\Local\Programs\Python\Python313\Lib\asyncio\runners.py", line 118, in run
return self._loop.run_until_complete(task)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
File "C:\Users\lordfunion\AppData\Local\Programs\Python\Python313\Lib\asyncio\base_events.py", line 721, in run_until_complete
return future.result()
~~~~~~~~~~~~~^^
File "F:\InfiniteBot-main\craft.py", line 13, in main
result = await game.pair(game.discoveries[i], game.discoveries[j])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\lordfunion\AppData\Local\Programs\Python\Python313\Lib\site-packages\infinitecraft\infinitecraft.py", line 309, in pair
response.raise_for_status()
~~~~~~~~~~~~~~~~~~~~~~~~~^^
File "C:\Users\lordfunion\AppData\Local\Programs\Python\Python313\Lib\site-packages\aiohttp\client_reqrep.py", line 1135, in raise_for_status
raise ClientResponseError(
...<5 lines>...
)
aiohttp.client_exceptions.ClientResponseError: 403, message='Forbidden', url='https://neal.fun/api/infinite-craft/pair?first=Pineapple+Icebot&second=Duck+Curry'
Hmmmm... Sorry I have not seen this thread, it's been almost a year since I have visited this project! I have had this AsyncIO error before, and I fixed it somehow... It could just be an Infinite Craft server issue, but I will try to find out a fix, then will get back to y'all!
thanks
I'm pretty sure that this is the same problem as this GitHub issue for the Python module... Possibly watch that one to see if there is a fix later?
when i run python main.py i get this error
Traceback (most recent call last): File "C:\Users**\Downloads\InfiniteBot-main\InfiniteBot-main\main.py", line 2, in
import craft
File "C:\Users** \Downloads\InfiniteBot-main\InfiniteBot-main\craft.py", line 4, in
from infinitecraft import InfiniteCraft
ModuleNotFoundError: No module named 'infinitecraft'
C:\Users**\Downloads\InfiniteBot-main\InfiniteBot-main>python main.py Traceback (most recent call last): File "C:\Users**\Downloads\InfiniteBot-main\InfiniteBot-main\main.py", line 2, in
import craft
File "C:\Users******\Downloads\InfiniteBot-main\InfiniteBot-main\craft.py", line 4, in
from infinitecraft import InfiniteCraft
ModuleNotFoundError: No module named 'infinitecraft'