Closed rin67630 closed 4 months ago
/Users/mifi/Desktop/esptool.py
How did that file get there? Did you download it manually? If you invoke it directly then it is not ensured that the esptool's dependencies are also installed on your computer (hence the import error). Not to mention that later, even if you work around that issue, other files will be missing.
The installation instructions are here: https://docs.espressif.com/projects/esptool/en/latest/esp32/installation.html (with the link how to get pip if not found)
This was your issue (pip is not installed):
mifi@Lenovo-MEDION-X5020 Desktop % pip install esptool
zsh: command not found: pip
It is great that you found an alternative to install it. But I don't think this is an esptool issue. We cannot take care or check that all system-level dependencies are installed.
Operating System
macOS 14.1
Esptool Version
4.7.0
Python Version
3.11
Full Esptool Command Line that Was Run
python3 esptool.py
Esptool Output
What is the Expected Behaviour?
I would expect esptool to run on Sonoma too.
More Information
Could not install esptool.py with pip, installed it with pipx.
pipx install esptool Installing to existing venv 'esptool' installed package esptool 4.7.0, installed using Python 3.12.4 These apps are now globally available
If that is wrong, and the cause of the error, please give instructions to install esptool. Thank you.
Other Steps to Reproduce
No response