A-Guide-to-DeepMinds-StarCraft-AI-Environment icon indicating copy to clipboard operation
A-Guide-to-DeepMinds-StarCraft-AI-Environment copied to clipboard

All arguments must be passed as keyword arguments

Open snurkabill opened this issue 7 years ago • 2 comments

Hello, I've been trying to run your tutorial but I am getting this error:

python3 train_mineral_shards.py 
Traceback (most recent call last):
  File "train_mineral_shards.py", line 51, in <module>
    main()
  File "train_mineral_shards.py", line 24, in main
    visualize=True) as env:
  File "/home/snurkabill/.local/lib/python3.5/site-packages/pysc2/env/sc2_env.py", line 116, in __init__
    raise ValueError("All arguments must be passed as keyword arguments.")
ValueError: All arguments must be passed as keyword arguments.

Could you please point me to correct direction?

snurkabill avatar Oct 15 '17 13:10 snurkabill

sadly i have the same problem after installing everything any help out there?

timzarhansen avatar Oct 18 '17 14:10 timzarhansen

In the file "train_mineral_shards.py" replace line 22: "CollectMineralShards", with: map_name="CollectMineralShards",

Log234 avatar Oct 19 '17 14:10 Log234