chris-chris / pysc2-examples

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

show an error when i run train_mineral_shards #27

Open viponedream opened 4 years ago

viponedream commented 4 years ago

show an error when i run train_mineral_shards

File "C:\Anaconda3\lib\site-packages\pysc2\run_configs__init.py", line 39, in get if FLAGS.sc2_run_config is None: # Find the highest priority as default. File "C:\Anaconda3\lib\site-packages\absl\flags_flagvalues.py", line 491, in getattr__ raise _exceptions.UnparsedFlagAccessError(error_message) absl.flags._exceptions.UnparsedFlagAccessError: Trying to access flag --sc2_run_config before flags were parsed.

josh-stevens commented 4 years ago

Yeah I just followed the tutorial and got this far as well.

winrey commented 4 years ago

If you are using PyCharm 2019.1 you need to downgrade to 2018.6. Or just use powershell. 😂