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

show an error when i run train_mineral_shards

Open viponedream opened this issue 5 years ago • 2 comments

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.

viponedream avatar Jul 24 '19 21:07 viponedream

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

josh-stevens avatar Aug 11 '19 20:08 josh-stevens

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

winrey avatar Aug 26 '19 13:08 winrey