Thanks to visit codestin.com
Credit goes to github.com

Skip to content

python3 Parameters are incorrect? #8945

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
6 tasks done
JTzLinux opened this issue Jun 17, 2023 · 6 comments
Closed
6 tasks done

python3 Parameters are incorrect? #8945

JTzLinux opened this issue Jun 17, 2023 · 6 comments

Comments

@JTzLinux
Copy link

JTzLinux commented Jun 17, 2023

Basic Infos

  • This issue complies with the issue POLICY doc.
  • I have read the documentation at readthedocs and the issue is not addressed there.
  • I have tested that the issue is present in current master branch (aka latest git).
  • I have searched the issue tracker for a similar issue.
  • If there is a stack dump, I have decoded it.
  • I have filled out all fields below.

Platform

  • Hardware: LOLIN D1
  • Core Version: 3.1.1
  • Development Env: Arduino IDE
  • Operating System: Windows

Settings in IDE

  • Module: Wemos D1 mini r2
  • Flash Mode: other
  • Flash Size: Unknown
  • lwip Variant: Unknown
  • Reset Method: Button on hw
  • Flash Frequency: 40Mhz?
  • CPU Frequency: 80Mhz?
  • Upload Using: SERIAL
  • Upload Speed: 115200

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
Copy link
Author

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

@mcspr
Copy link
Collaborator

mcspr commented Jun 18, 2023

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

3.1.1

What about 3.1.2 aka latest version?

@JTzLinux
Copy link
Author

JTzLinux commented Jun 19, 2023 via email

@mcspr
Copy link
Collaborator

mcspr commented Jun 19, 2023

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

Traceback (most recent call last):
...

@JTzLinux
Copy link
Author

JTzLinux commented Jun 19, 2023 via email

@mcspr
Copy link
Collaborator

mcspr commented Jun 19, 2023

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants