Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue while running on colab #121

Open
chiggy2402 opened this issue Sep 27, 2021 · 1 comment
Open

Issue while running on colab #121

chiggy2402 opened this issue Sep 27, 2021 · 1 comment

Comments

@chiggy2402
Copy link

I am trying to COMA with SCII on colab and I am getting this issue -

File "/usr/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/usr/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/content/drive/My Drive/VDACs/src/runners/parallel_runner.py", line 248, in env_worker
    env.reset()
  File "/usr/local/lib/python3.7/dist-packages/smac/env/starcraft2/starcraft2.py", line 403, in reset
    self._launch()
  File "/usr/local/lib/python3.7/dist-packages/smac/env/starcraft2/starcraft2.py", line 324, in _launch
    window_size=self.window_size, want_rgb=False
  File "/usr/local/lib/python3.7/dist-packages/pysc2/run_configs/platforms.py", line 205, in start
    want_rgb=want_rgb, extra_args=extra_args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/pysc2/run_configs/platforms.py", line 88, in start
    self, exec_path=exec_path, version=self.version, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/pysc2/lib/sc_process.py", line 143, in __init__
    self._host, self._port, self, timeout_seconds=timeout_seconds)
  File "/usr/local/lib/python3.7/dist-packages/pysc2/lib/remote_controller.py", line 146, in __init__
    sock = self._connect(host, port, proc, timeout_seconds)
  File "/usr/local/lib/python3.7/dist-packages/pysc2/lib/stopwatch.py", line 212, in _stopwatch
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/pysc2/lib/remote_controller.py", line 180, in _connect
    raise ConnectError("Failed to connect to the SC2 websocket. Is it up?")
pysc2.lib.remote_controller.ConnectError: Failed to connect to the SC2 websocket. Is it up?

Is there a way solve this?

@dkssud715
Copy link

Did you solve this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants