Error: Traceback (most recent call last):


 "/usr/local/lib/python2.7/dist-packages/platformio/__main__.py", line 104, in main

cli(None, None, None)


 "/home/kangus/.local/lib/python2.7/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/home/kangus/.local/lib/python2.7/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/kangus/.local/lib/python2.7/site-packages/click/core.py", line 1063, in invoke

Command.invoke(self, ctx)


 "/home/kangus/.local/lib/python2.7/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/kangus/.local/lib/python2.7/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/kangus/.local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/usr/local/lib/python2.7/dist-packages/platformio/__main__.py", line 74, in cli

maintenance.on_platformio_start(ctx, force, caller)


 "/usr/local/lib/python2.7/dist-packages/platformio/maintenance.py", line 67, in on_platformio_start

if not in_silence(ctx):


 "/usr/local/lib/python2.7/dist-packages/platformio/maintenance.py", line 42, in in_silence

ctx.args[0] == "upgrade", "--json-output" in ctx_args,
IndexError: list index out of range


Traceback (most recent call last):


 "<string>", line 1, in <module>


 "/tmp/pip-install-3lujbw_g/pygame_f065bd12c4ab489abae036716cd37a3a/setup.py", line 318, in <module>

buildconfig.config.main(AUTO_CONFIG)


 "/tmp/pip-install-3lujbw_g/pygame_f065bd12c4ab489abae036716cd37a3a/buildconfig/config.py", line 221, in main

deps = CFG.main(**kwds)


 "/tmp/pip-install-3lujbw_g/pygame_f065bd12c4ab489abae036716cd37a3a/buildconfig/config_unix.py", line 194, in main

DependencyProg('SDL', 'SDL_CONFIG', 'sdl2-config', '2.0', ['sdl']),


 "/tmp/pip-install-3lujbw_g/pygame_f065bd12c4ab489abae036716cd37a3a/buildconfig/config_unix.py", line 39, in __init__

self.ver = config[0].strip()

IndexError: list index out of range
