Comments (1)
/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.
from esptool.
Related Issues (20)
- `merge_bin` needs to validate the input file sizes (ESPTOOL-904)
- Can't reboot device using USB Serial JTAG when in DOWNLOAD_MODE (ESPTOOL-842) HOT 25
- esptool: error: unrecognized arguments: --force --encrypt (ESPTOOL-843) HOT 5
- Esptool tool always fail at the connecting stage but AT+GMR command returns chip data (ESPTOOL-844) HOT 7
- Can't Flash ESP32-S2 on Mac (ESPTOOL-846) HOT 3
- Intelhex check can prevent flashing of binary file. (ESPTOOL-855) HOT 1
- A fatal error occurred: Invalid head of packet (0x6F) (ESPTOOL-858) HOT 8
- Important fatal errors should print to stderr (ESPTOOL-863) HOT 1
- espefuse.py show struct.error: unpack requires a buffer of 20 bytes (IDFGH-12938) (ESPTOOL-867) HOT 3
- Invalid head of packet (0x45): Possible serial noise or corruption...ESP32-C3-MINI (ESPTOOL-872) HOT 20
- intelhex.HexRecordError: Hex file contains invalid record, when not using hex-files (ESPTOOL-875) HOT 2
- Add ability to specify serial port VID+PID (ESPTOOL-877)
- Sign/notarize macOS executable (ESPTOOL-881)
- Don't use self-hosted builders (ESPTOOL-882) HOT 2
- Unable to install on airgapped machine with new python and pip installation (ESPTOOL-884) HOT 3
- ELFSection check missing in bin_image (ESPTOOL-888) HOT 1
- SystemExit Raised Instead of Warning in _check_if_can_reset Method when chip is placed into download mode using GPIO0 (ESPTOOL-893)
- esptools cannot connect to ESP32-C3-WROOM-02 "no serial data received" (ESPTOOL-900) HOT 3
- flash write fails with ambiguous Error 1 (ESPTOOL-901) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from esptool.