Error: Traceback (most recent call last):


 "/Library/Python/2.7/site-packages/platformio/__main__.py", line 120, in main

cli(None, None, None)


 "/Library/Python/2.7/site-packages/click/core.py", line 700, in __call__

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


 "/Library/Python/2.7/site-packages/click/core.py", line 680, in main

rv = self.invoke(ctx)


 "/Library/Python/2.7/site-packages/click/core.py", line 1027, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/Library/Python/2.7/site-packages/click/core.py", line 1027, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/Library/Python/2.7/site-packages/click/core.py", line 873, in invoke

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


 "/Library/Python/2.7/site-packages/click/core.py", line 508, in invoke

return callback(*args, **kwargs)


 "/Library/Python/2.7/site-packages/platformio/commands/device.py", line 50, in device_list

return click.echo(json.dumps(data[single_key] if single_key else data))


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/__init__.py", line 243, in dumps

return _default_encoder.encode(obj)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 207, in encode

chunks = self.iterencode(o, _one_shot=True)


 "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/json/encoder.py", line 270, in iterencode

return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xa4 in position 0: invalid start byte

Traceback (most recent call last):


 "/usr/bin/pip3", line 5, in <module>

from pkg_resources import load_entry_point


 "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 70, in <module>

import packaging.version
ImportError: No module named 'packaging'
