Skip to content
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

Error "failed to create process." when trying to start esptool.py (ESPTOOL-773) #935

Closed
ndinev opened this issue Nov 26, 2023 · 2 comments
Closed

Comments

@ndinev
Copy link

ndinev commented Nov 26, 2023

Operating System

Windows 10

Esptool Version

4.6.2

Python Version

3.10.10

Full Esptool Command Line that Was Run

esptool.py

Esptool Output

failed to create process.

What is the Expected Behaviour?

I expect tool to start(maybe print help)

More Information

No response

Other Steps to Reproduce

steps to reproduce:
pip uninstall esptool # make sure no esptool is installed
pip install esptool # install latest -> no errors
esptool.py # run the tool - Error

@github-actions github-actions bot changed the title Error "failed to create process." when trying to start esptool.py Error "failed to create process." when trying to start esptool.py (ESPTOOL-773) Nov 26, 2023
@dobairoland
Copy link
Collaborator

dobairoland commented Nov 27, 2023

Hi @ndinev.

We need more information to help you. For example, the output of pip install, where pip, where esptool.py, echo %PATH%.

It is possible that some directory in your PATH is pointing to a location where an old esptool.py is located (e.g. ESP-IDF's components/esptool_py or other framework's directory).

By the way, this should be a bulletproof way to invoke the right esptool version:

python -m pip install esptool
python -m esptool  # followed by the usual esptool arguments

@dobairoland
Copy link
Collaborator

I'm closing this for inactivity.

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

No branches or pull requests

2 participants