pysc2 icon indicating copy to clipboard operation
pysc2 copied to clipboard

macOS 10.15.2 python -m pysc2.bin.agent --map Simple64 not work well

Open yuhsh24 opened this issue 4 years ago • 4 comments

In macOS 10.15.2 I install pysc2 from Git. when I ran "python -m pysc2.bin.agent --map Simple64", the SCII window shown, but the pygame window did not show anything and it is blank. 企业微信截图_d9b0da89-1791-47be-9928-219ae2853dd2 企业微信截图_ac156af0-962e-463c-8170-9760067774b0

yuhsh24 avatar Jul 08 '20 09:07 yuhsh24

In macOS 10.15.2 I install pysc2 from Git. when I ran "python -m pysc2.bin.agent --map Simple64", the SCII window shown, but the pygame window did not show anything and it is blank. 企业微信截图_d9b0da89-1791-47be-9928-219ae2853dd2 企业微信截图_ac156af0-962e-463c-8170-9760067774b0

Have you found the solution?

rose1111111 avatar Jul 21 '20 08:07 rose1111111

I believe you need to install Xserver (e.g. Qartz) to make it work as pygame heavily relies on it.

alkurbatov avatar Jul 21 '20 10:07 alkurbatov

After I install Xserver, the problem is still not fixed.

yuhsh24 avatar Jul 21 '20 12:07 yuhsh24

Same problem with you. Did you got this error:

pygame.error:Unable to make GL context current

I think you can install the pygame==1.9.6 like this #308

4ever-Rain avatar Nov 03 '20 09:11 4ever-Rain