Skip to content

python3 Parameters are incorrect? #8945

Closed

Description

@JTzLinux

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.

Activity

  1. JTzLinux commented on Jun 17, 2023

    @JTzLinux
    Author

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

  2. mcspr commented on Jun 18, 2023

    @mcspr
    Collaborator

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

    3.1.1

    What about 3.1.2 aka latest version?

  3. JTzLinux commented on Jun 19, 2023

    @JTzLinux
    Author
  4. mcspr commented on Jun 19, 2023

    @mcspr
    Collaborator

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

    Traceback (most recent call last):
    ...

  5. JTzLinux commented on Jun 19, 2023

    @JTzLinux
    Author
  6. mcspr commented on Jun 19, 2023

    @mcspr
    Collaborator

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions