Traceback (most recent call last):
File "/bots/qin/run.py", line 18, in
from bot.main import MyBot
File "/bots/qin/bot/main.py", line 6, in
from ares import AresBot
File "/bots/qin/ares-sc2/src/ares/init.py", line 3, in
from .main import * # noqa: F403 F401
^^^^^^^^^^^^^^^^^^^
File "/bots/qin/ares-sc2/src/ares/main.py", line 6, in
from cython_extensions import cy_unit_pending
File "/bots/qin/cython_extensions/init.py", line 6, in
from . import bootstrap
ImportError: cannot import name 'bootstrap' from partially initialized module 'cython_extensions' (most likely due to a circular import) (/bots/qin/cython_extensions/init.py)

Solution:

from https://github.com/AresSC2/cython-extensions-sc2

click releases on the right side

download ubuntu-latest_python3.12.zip

unzip, and copy bootstrap.cpython-312-x86_64-linux-gnu.so to <bot_dir>/cython-extensions-sc2/cython-extensions.

then run poetry run python scripts/create_ladder_zip.py


<
Previous Post
github login recover
>
Next Post
first (or maybe second) github pull request