esp8266 / Arduino

ESP8266 core for Arduino
GNU Lesser General Public License v2.1
16.07k stars 13.33k forks source link

python3 Parameters are incorrect? #8945

Closed JTzLinux closed 1 year ago

JTzLinux commented 1 year ago

Basic Infos

Platform

Settings in IDE

Problem Description

When I try to upload it I receive that the parameters are incorrect

MCVE Sketch


void setup() {

}

// the loop function runs over and over again forever
void loop() {
  digitalWrite(LED_BUILTIN, HIGH);  // turn the LED on (HIGH is the voltage level)
  delay(1000);                      // wait for a second
  digitalWrite(LED_BUILTIN, LOW);   // turn the LED off by making the voltage LOW
  delay(1000);                      // wait for a second
}

Debug Messages


fork/exec C:\Users\Admin\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3.exe: The parameter is incorrect.

Compilation error: fork/exec C:\Users\Admin\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3.exe: The parameter is incorrect.
JTzLinux commented 1 year ago

Had to downgrade from 3.X.X to 2.X.X

mcspr commented 1 year ago

Had to downgrade from 3.X.X to 2.X.X

3.1.1

What about 3.1.2 aka latest version?

JTzLinux commented 1 year ago

Same jizz aka same error

mcspr commented 1 year ago

Anything before python.exe line? Usually python produces a lengthy log

Traceback (most recent call last): ...

JTzLinux commented 1 year ago

no only what i wrote came back

Sent from Outlook for Androidhttps://aka.ms/AAb9ysg


From: Max Prokhorov @.> Sent: Monday, June 19, 2023 1:00:00 PM To: esp8266/Arduino @.> Cc: JTzLinux @.>; State change @.> Subject: Re: [esp8266/Arduino] python3 Parameters are incorrect? (Issue #8945)

Anything before python.exe line? Usually python produces a lengthy log

Traceback (most recent call last): ...

— Reply to this email directly, view it on GitHubhttps://github.com/esp8266/Arduino/issues/8945#issuecomment-1596971971, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AOQACDYY2MG7VRKPT32HC4DXMAWLBANCNFSM6AAAAAAZKLAPFE. You are receiving this because you modified the open/close state.Message ID: @.***>

mcspr commented 1 year ago

Win+R - C:\Users\Admin\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1\python3.exe does work though?

Is it portable IDE, Microsoft Store, or globally installed one? 1.x or 2.x? Antivirus / 'security' sw interfering, maybe?