chris-chris / pysc2-examples

StarCraft II - pysc2 Deep Reinforcement Learning Examples
Apache License 2.0
755 stars 356 forks source link

missing 1 required positional argument: 'map_name' #16

Open Maverobot opened 6 years ago

Maverobot commented 6 years ago

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'
diyi-liu commented 6 years ago

Same problem here.

lwneal commented 6 years ago

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