python-sc2
python-sc2 copied to clipboard
after fixing 3794/3795 error -botAI main_base_ramp fails
After update to Blizzard 4.10 using pip3 install --user git+https://github.com/Dentosal/[email protected] patched with Edit game_data.py and comment out 'assert self.id != 0' with # in front, save changes. Edit pixel_map.py and comment out 'assert self.bits_per_pixel % 8 == 0, "Unsupported pixel density"' with # in front, save changes.
Now I get at beginning of game in File "/home/markov/.local/lib/python3.7/site-packages/sc2/bot_ai.py", line 80, in main_base_ramp key=(lambda r: self.start_location.distance_to(r.top_center)), ValueError: min() arg is an empty sequence