pysc2-examples
pysc2-examples copied to clipboard
missing 1 required positional argument: 'map_name'
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'
Same problem here.
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