problem with installing platformio on linux

I installed Visual Studio Code on Linux Mint. I installed the platformio extension. installation ok, but I can’t use it because there is a message about initiating the platformio core all the time and a message appears to install python, but it is already there in linux. And everything stops at the message PLATFORMIO INSTALLER: INSTALLING PLATFORMIO CORE. anyone can help?