PlatformIO was working without any problem, but after several updates, there was following error message:
Failed to activate the platformio-ide package
The bug is also mentioned at GitHub. It seems that the bug has a relation to the default OS shell.
Try following workaround (it worked for my Linux/ZSH):
- change default shell to Bash
sudo chsh -s /bin/bash YOUR_LOGIN
- start Platform IO IDE
- revert the shell back to your favorite
sudo chsh -s /usr/bin/zsh YOUR_LOGIN
This solution worked for me. Let me know whether you have the same experience.