akaJes / marlin-config

Marlin firmware instant configurator
GNU General Public License v3.0
389 stars 85 forks source link

"auto install" (of PlatformIO) still installs Python 2.7 - which has reached its "end of lifetime" on 1st of Jan 2020 #114

Open hugofant opened 3 years ago

hugofant commented 3 years ago

...and also PlatformIO "says" (during compiling), that this version is too low and has to be upgraded.

As "auto install" still installs the outdated version 2.7 i was looking for a "manual" solution and the following way worked for me (Windows10, without "auto install"):

install latest Python version (actually 3.9) manually - important: with updating the PATH variable

afterwards use on command line:

pip install -U platformio

Marlin-Conf "reports" PlatformIO as "installed" now and compiling works well with PlatformIO 5 as Pyhton is "up-to-date" now

Rencee83 commented 2 years ago

I would like to add a comment, it would probably help others who had a problem installing platformio through the config. It still wants to install the old version python, but it doesn't really install anything, rather just makes a folder in win 10 64 bit. There's no path to add, at least for me. I am not a programmer or any expert on this, so it took me 2 weeks to finally figure it out. Go to pltformio website, and download the platformio core scrypt, save it to your downloads, open command, enter that download folder, and install platformio with the command from platformio website. It will install without problem, using the latest python, and restarting marlin config, it will show you platformio installed. Iinstalled the latest python first, and upgraded pip in command. I nearly cried finally figuring this out 😅😅🤣