google-deepmind / pysc2

StarCraft II Learning Environment
Apache License 2.0
8k stars 1.15k forks source link

can i run it in Offline? #352

Open Olrun opened 1 year ago

Olrun commented 1 year ago

Hello First, thank you for your best benchmark. I run your code in offline env.

python -m pysc2.bin.agent --map Simple64

but i receive the error


Error signal: '11' sc2_env.py:740 Environment Close sc_process:227 Shutdown gracefully sc_process:205 Shutdown with return code: -11

Traceback ... ... websocket._exceptions.WebSocketConnectionClosedException: Connection to remote host was lost.

During handling of the above exception, another exception occurred:

Traceback ... ... pysc2.lib.protocol.ConnectionError: connection already closed. SC2 probably crashed. Check the error log.

During handling of the above exception, another exception occurred:

Traceback ... ... pysc2.lib.protocol.ConnectionError:Error during action: Connection already closed. SC2 probably crashed. Check the error log

How can i solve this problem?