google-deepmind / pysc2

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

pysc2 in google colab #327

Open Tonix22 opened 3 years ago

Tonix22 commented 3 years ago

I am trying to run the an agent in google colab but I get the following error. 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?

WhishingRaven commented 3 years ago

!apt-get remove libtcmalloc*

It will works

taigi100 commented 2 years ago

hey

Do you (or anyone else) have a working colab atm that you could share please? I'm trying to train something, download the weights and check them out on my machine. Sadly, every tutorial / colab notebook i can find is a few years old and has a bunch of issues.

KaleabTessera commented 2 years ago

Thanks @WhishingRaven ! It fixed my issue :open_hands: !!!