"Failed to connect to the SC2 websocket. Is it up?"

"Failed to connect to the SC2 websocket. Is it up?"

我正在尝试 运行 星际争霸 II 的 Deepmind 环境,遵循此 tutorial

运行宁后:

$ python -m pysc2.bin.play --map Simple64

我收到这个错误:

raise ConnectError("Failed to connect to the SC2 websocket. Is it up?")

pysc2.lib.remote_controller

知道如何解决这个问题吗?

这对某些人来说可能很明显,但我花了 25 分钟,所以我会把它放在这里。

The SC2 websocket is up once you completely installed and started the game.

Not only the battlenet interface.

注意:确保游戏是当前版本(如果可能请更新)