I'm trying to update PlatformIO IDE from 2.4.1 to 2.4.2 and getting error

I’m trying to update PlatformIO IDE from 2.4.1 to 2.4.2 (the some with 2.4.3)
I am getting an error about Python not being installed: “Can not find working Python 3.6+ Interpreter.”

According to the documentation it states that Python is already installed on the Mac and cerifi but
pip install certifi
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at Release process - pip documentation v23.0.dev0 pip 21.0 will remove support for this functionality.
Requirement already satisfied: certifi in /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages (2021.10.8)

python --version
Python 3.10.3

CC @ivankravets bug in the downlaod process for the isolated Python 3 environment?

1 Like

Yes. And I forgot to say that I am using mac os.

Could you try the get-platformio.py installer script? Please provide FULL output.

Close the VSCode. Open system terminal. Run installer script.

I’ve done it. But I have:
Screen Shot 2022-03-24 at 15.40.30

PlatformIO Core has been successfully installed into an isolated environment /Users/IgorA/.platformio/penv!

The full path to platformio.exe is /Users/IgorA/.platformio/penv/bin/platformio

If you need an access to platformio.exe from other applications, please install Shell Commands
(add PlatformIO Core binary directory /Users/IgorA/.platformio/penv/bin to the system environment PATH variable):

See Redirecting...

Unfortunately, adding /.platformio/penv/bin/ to $PATH didn’t change anything.

MacBook-Pro:~ A$ platformio --version
PlatformIO Core, version 5.2.5

$ python get-platformio.py check core
Found compatible PlatformIO Core 5.2.5 → /Users/IgorA/.platformio/penv/bin/platformio

Could you provide an output of

pio system info
A$ pio system info
--------------------------  --------------------------------------------
PlatformIO Core             5.2.5
Python                      3.10.3-final.0
System Type                 darwin_x86_64
Platform                    macOS-10.15.7
File System Encoding        utf-8
Locale Encoding             UTF-8
PlatformIO Core Directory   /Users/IgorA/.platformio
PlatformIO Core Executable  /Users/IgorA/.platformio/penv/bin/platformio
Python Executable           /Users/IgorA/.platformio/penv/bin/python
Global Libraries            1
Development Platforms       6
Tools & Toolchains          11
--------------------------  --------------------------------------------

Please uninstall your local Python 3.10.3. Try to install it again using this guide Redirecting...

You need to install certificates. Restart machine. Restart VSCode.

I will try to do it.