google-deepmind / google-deepmind/pysc2

can i run it in Offline?

Open
#352 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.3k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.