atom-community / atom-community/atom-script

Atom installs wrong Python version 3 Platformio requires Python 2 to compile Marlin 2.0 firmware Terminal error **_this script only runs under python 2_**

Open
#1,989 0 comments 0 reactions 0 assignees View on GitHub
installation
Dominant language
JavaScript
Stars
730
Forks
264
PR merge metrics
No merged PRs in 30d

Description

Atom installs wrong Python version 3 Platformio requires Python 2 to compile Marlin 2.0 firmware Terminal error **_this script only runs under python 2_**

Unable to build marlin 2.0 firmware get Terminal Error this script only runs under python 2

1. Windows Intel 3i Laptop install Atom using v1.41.0 executable from Atom.io and followed install with the necessary additions that the install requested packages such as, platformio ide, auto complete clang v3.9.1, palette-process etc..
2. Atom install automatically installs python version 3.7.4
3. Open project added the latest SKR v1.3 Marlin 2.0 bug fix from BigTreeTech github
4. Run Auto build / PIO Build
5. Firmware Build fails Get the following terminal error

**_build_type build
Working
python version 3
This script only runs under python 2_**

6. Tried installing Python 2.7.9 using the python-2.7.9-amd64.exe but Platformio does not see it apparently

**Expected behavior:** Build firmware for SKR v1.3

**Actual behavior:** Platformio does not build firmware terminal states it requires Python 2
apm 2.4.3
npm 6.2.0
node 10.2.1 x64
atom 1.41.0
python 3.7.4
git
visual studio

atom --version v1.41.0
build 0.70.0
clang v3.9.1``
apm --version 2.4.3
atom setup manager package v0.2.4
platformio ide v2.5.0
platformio ide terminal v2.10.0
palette-process v0.17.0
OS name and version: windows 10

Contributor guide

Open the contributing guide

Research direction

No repository file, test, or entry point is named. First reproduce the Windows 10 Atom 1.41.0 and PlatformIO build for Marlin 2.0, then determine whether the Python 2 requirement belongs to atom-script or an external build tool; done means the build completes without the Python-version error.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
build-system, tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.