Seems like you have globally installed PlatformIO with your Python 2.7 pip installation? I would recommend to pip uninstall platformio
and then pip3 install platformio
with the Python3 version of pip.
1 Like