pysc2-examples icon indicating copy to clipboard operation
pysc2-examples copied to clipboard

missing 1 required positional argument: 'map_name'

Open Maverobot opened this issue 6 years ago • 2 comments

Hello, I am trying to get the example work in Windows 10. Here is an error which I encountered.

Traceback (most recent call last):
  File "train_mineral_shards.py", line 302, in <module>
    main()
  File "train_mineral_shards.py", line 168, in main
    env = SubprocVecEnv(FLAGS.num_agents + FLAGS.num_scripts, FLAGS.map)
TypeError: __init__() missing 1 required positional argument: 'map_name'

Maverobot avatar May 18 '18 20:05 Maverobot

Same problem here.

diyi-liu avatar May 31 '18 14:05 diyi-liu

I was able to fix this error on Ubuntu 16.04 with pysc2 2.0.1 using https://github.com/chris-chris/pysc2-examples/pull/17

lwneal avatar Jun 25 '18 18:06 lwneal